next up previous contents
Next: Interactively Cleaning Bad Pixels Up: Cross-Dispersed Grism Data Reduction Previous: Flatfielding

Fixing Known Bad Pixels

The bad pixel correction procedure is the same as described for long-slit grism reductions (§8).

To apply a bad pixel correction using the redxspec task, set the fixbad flag and nominate the bad pixel filename and the type of correction using the badfile and badtype parameters. badtype=interpolate causes imedit to be used to interpolate over the bad pixels listed in a .bpx file. This is the preferred choice for spectroscopic data. badtype=fixpix causes fixpix to be used to interpolate over bad pixels listed in a .bad file. This is included for consistency with the imaging reduction procedure redimage. As with redimage, the badfile parameter should not include the file extension ( .bpx, .bad, or .pl). redxspec will append this.



Kabal
Thu Jun 5 16:44:21 EST 1997