SIRTF IRAC Test Data, Bad Pixel Map

 Bad pixel map 
    0 = OK
    1 = dark current too high
    2 = dark current too unstable
    4 = responsivity too high
    8 = responsivity too low (dead)
   16 = responsivity unstable 
   32 = could not be linearized
   64 = missing pixel (pixel was filled in by SSC pipeline)
  128 = bad pixel that does not fall into above categories

- Use bad pixel info from the WFPC2 mask file that came with the image file.
  - in that file, the questionable pixels flagged as "258" were set to "16" 
    (responsivity unstable).  The calibrated image was also changed to make the 
    values of those bad pixels worse by multiplying them by 0.6.
  - take another set of bad pixels from the WFPC2 mask file, flagged as "2", and
    set to "4" (responsivity too high).  Modify those pixels of the calibrated image
    by multiplying them by 1.4.

- dead pixels
  Choose 0.1% of the pixels randomly and set them to "8" in the bad pixel map. 
  Modify those pixels in the calibrated image by setting them to "-1".

- dark current too high or too unstable
  Choose 0.01% of the pixels randomly and set them to "1" in the bad pixel map for 
  dark current too high and "2" for dark current unstable.  The calibrated image is
  NOT modified.

- could not be linearized to requirement level
  Choose 0.01% of the pixels randomly and set them to "32" in the bad pixel map for
  "could not be linearized".  The calibrated image is NOT modified.

- missing pixels
  select 3 adjacent rows (x=10,11 &12, y=1 through 256) and set bad pixel map to 
  "64" for all 3 rows. The calibrated image is NOT changed.

- Bad pixels that do not fall into any of the above categories.
  set pixel x=50,y=50 to "128".  The calibrated image is NOT modified.