IRAF help page for package noao.imred.ccdred, program badpiximage

from NOAO badpiximage -- Create a bad pixel mask image from a bad pixel fileUSAGEPARAMETERSDESCRIPTIONEXAMPLESSEE ALSO

badpiximage -- Create a bad pixel mask image from a bad pixel file


USAGE

badpiximage fixfile template image


PARAMETERS

fixfile

Bad pixel file.

template

Template image used to define the size of the bad pixel mask image.

image

Bad pixel mask image to be created.

goodvalue = 1

Integer value assigned to the good pixels.

badvalue = 0

Integer value assigned to the bad pixels.


DESCRIPTION

A bad pixel mask image is created from the specified bad pixel file. The format of the bad pixel file is that used by ccdproc to correct CCD defects (see instruments). The bad pixel image is of pixel type short and has the value given by the parameter goodvalue for the good pixels and the value given by the parameter badvalue for the bad pixels. The image size and header parameters are taken from the specified template image. The bad pixel mask image may be used to view the location of the bad pixels and blink against an data image using an image display, to mask or flag bad pixels later by image arithmetic, and to propagate the positions of the bad pixels through the reductions.


EXAMPLES

1. To make a bad pixel mask image from the bad pixel file "cryocambp.dat" using the image "ccd005" as the template:

cl> badpiximage cryocambp.dat ccd005 cryocambp

2. To make the bad pixel mask image with good values of 0 and bad values of 1:

cl> badpixim cryomapbp.dat ccd005 cryocambp good=0 bad=1


SEE ALSO

ccdproc, instruments,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu