remove-hot-pixels uses the Laplacian cosmic ray identification algorithm developed by Pieter van Dokkum (website) to remove cosmic ray defects and hot pixels. The numbert of iterations is set by the -H switch, which defaults to 1. The program adds a COMMENT card to the FITS image header reporting that the image was modified and  the number of iterations. The program produces a new FITS image by default (string -clean is appended to original FITS image name), but option -o overwrites the original image.

N.B. This algorithm is run as part of the normal CCD calibration sequence for Gemini telescope-generated images each morning, so it normally would not be needed for calibrated images.

Version: 1.0, 2 May 2016

Bugs/issues: None 

Usage: remove-hot-pixels [options] fitsfile


  --version             show program's version number and exit

  -h, --help            show this help message and exit

  -n Number iterations  Number of iterations [default1]

  -o                    Overwrite original file(s) [default: new file]

  -v                    Verbose output



© Robert Mutel 2018