View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

bad pixel correction on MEF images

Rach wrote on Jan 19, 2007

How can I correct bad pixels in an MEF using a mask which is also an MEF? The mask has 36 extensions, each corresponds to an extension in the main image I want to process. Is it possible to interpolate bad pixels without splitting the MEF and running fixpix 36 times?

Mike Fitzpatrick wrote on Jan 19, 2007

Frank can comment further, but I think the MSCRED package task MSCCMD can do this as a way to e.g. run FIXPIX on each on the image extensions where the corresponding mask extension is used for the correction. Something like

cl> msccmd "fixpix $input $in2" mefs.fits masks.fits out.fits


Otherwise, the FITSUTIL package is handy for dealing with MEFs.

Cheers,
-Mike

Last post on Jan 19, 2007