NAME

fimgpar -- Copy the value of a FITS image pixel to the parameter file.


USAGE

        fimgpar fitsfile[ext#] pixels

DESCRIPTION

This task reads the value of a pixel in a FITS image extension and writes it as a double to the 'outvalue' parameter in the parameter file. If the pixel is undefined then the task parameter 'undef' will be set to "yes".


PARAMETERS

fitsfile [file name]
The name, including extension and extension number in square brackets (e.g., myfile.fits[3] ) of the input FITS file to be read. By default the first extension will be read.

pixel [string]
The coordinates of a pixel to be accessed.

outvalue [string]
The name of an output parameter.

(undef) [boolean]
Is the value read from the pixel undefined?


EXAMPLES

1. Read the value in the 10th row of the 'WAVELENGTH' column in the 4th extension in the FITS file myfile.fits.

     
          ft> fimgpar myfile.fits[2] 1,2,3,4 
     


BUGS


SEE ALSO

fparimg

CATEGORY

Dec98 ftools.fimage