Input image file true Output bad pixels file true Add new bad pixels to the bad pixels file Half width for 2D searches (images) halfwidth2d .ge. 1 False detection probability per pixel probathreshold in [1.e-30:1.e-3] Also detect bad segments of rows or columns Half width for 1D searches (columns/rows) halfwidth1d .ge. 2 Detect bright pixels, rows or columns Minimum ratio to neighbours for bright features minratio .ge. 1. Detect dark pixels, rows or columns Maximum ratio to neighbours for dark features maxratio in [0.:1.] Maximum number of iterations niter in [1:] Get uplinked and dead pixels from the CAL Add dead pixels from CAL in output bad pixels list Ignore the bright pixels declared in the CAL (except uplinked)