[ Basic Info | User Guide ]
Basic Information on imwcs-
Task: imwcs-
Purpose: Changes image header for new WCS parameters
Categories: image analysis
IMWCS changes the image header variables related to the WCS
(crvalN,crpixN,cdeltN,ctypeN).
This program is a cheat, and currently assumes a purely linear
coordinate system, i.e. at pixel 'i'
wcs_value = crval + (i-crpix)*cdelt
Only 1 axis at a time can be changed.
If multiple keywords are changed, the order in which they are
changed is: CRVAL, CRPIX, CDELT, CTYPE.
If only a single one is changed, the related one (CRVAL<->CRPIX)
will also be changed, unless auto is set to false.
See also: IMPOS, REGRID, IMFRAME
Key: in
The input image dataset. No default.
Key: axis
For which axis to change a WCS keyword. Any number between 1 and
the NAXIS value of an image. No default.
Key: crval
Axis reference value to change.
Key: crpix
Axis reference pixel to change.
Key: cdelt
Axis pixel increment to change.
Key: ctype
Axis name to change.
Key: auto
Boolean to signify if a single keyword is changed, the related
one should also be changed. E.g. changing crpix should also
crval in a consistent way.
Default: true
Key: center
Boolean, if set and crpix is not set, it will set the reference
pixel to the center of the axis, (N+1)/2.
Note that if auto=true and crval not given, a new crval will be
computed.
Default: false
Generated by smamiriad@cfa.harvard.edu on 09 Jul 2012