6. Image masking#

There are several reasons a particular pixel in a specific image might not be useful:

  • The pixel could be “hot,” meaning it isn’t possible to remove the dark current from the pixel.

  • The pixel could be bad in the sense that it does not respond to light the way the other pixels do.

  • A cosmic ray can hit the pixel during the imaging.

The following notebooks walk through identifying each of those types of bad pixels and how to create a mask for them.