Content-type: text/html Manpage of imwcs

imwcs

Section: User Commands (1)
Index Return to Main Contents
 

NAME

imwcs - Changes image header for new WCS parameters  

PERSON RESPONSIBLE

pjt  

CATEGORIES

image analysis  

DESCRIPTION

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  

PARAMETERS

in
The input image dataset. No default.
axis
For which axis to change a WCS keyword. Any number between 1 and the NAXIS value of an image. No default.
crval
Axis reference value to change.
crpix
Axis reference pixel to change.
cdelt
Axis pixel increment to change.
ctype
Axis name to change.
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
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


 

Index

NAME
PERSON RESPONSIBLE
CATEGORIES
DESCRIPTION
PARAMETERS

This document was created by man2html, using the manual pages.
Time: 18:35:38 GMT, July 05, 2011