PAMGEN
Name
pamgen
Purpose (one Line Only)
Compute a pixel-area map for an astronomical image
Description
This program will combine information from an image and its astrometric
solution to create an image that contains the area of each pixel
on the plane-of-the-sky in units of arcsec^2.
Category
CCD data processing
Calling Sequence
pamgen,root,num
Inputs
root - root of file name
num - Image number, file name will be root + '.' + num where num is
formatted as a 3-digit zero-padded string. If num is undefined
then root is taken to be the entire file name. A string is allowed
and will be parsed by rangepar.pro to pull out a list of image
numbers.
You can provide either one or a group of images. If num is undefined
then root can either be scalar or vector. If num is defined then
root must be scalar. If num is defined it can be either a scalar or
vector if it is an integer. If it is a string it can only be a scalar.
Optional Input Parameters
Keyword Input Parameters
PATH - String, name of directory where image data are to be found.
Default is '/net/frakir/raid/reduced/'. 'root' is added on
to this path to form the complete directory name. If you
supply the path yourself you must completely specify the path.
Outputs
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
Procedure
A file, named fitcoeff.dat, must be in PATH. This file
is expected to contain a fit that allows mapping from pixel (x,y) to
sky (RA,Dec). This file is usually generated by running ASTROM.PRO.
For each file specified
Modification History
Written by Marc W. Buie, Southwest Research Institute, 2009/10/02
2009/12/30, MWB, modified for new fitting coefficients methodology