| nicbias | nicred | nicbias |
nicbias -- correct frames of a multiaccum sequence for the pedestal effect
nicbias input slopetry output
Nicbias takes a dark subtracted multiaccum sequence and an initial guess for the count rates obtained with fullfitbam and corrects each of the multiaccum readouts by a constant amount to correct for the pedestal effect. If there were no pedestal effect, each readout should be the countrate multiplied by the exposure time. In the presence of the pedestal effect, there is an additional non-zero constant added to each frame. To correct for the pedestal effect, nicbias takes each frame, and subtracts the count rate frame scaled by the exposure time for that readout. The median value of each quadrant of the residual image is subtracted from the original image and the result written to the output file.