About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/slds9_put_wcs.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 ds9_put_wcs Context: ds9

Synopsis

Apply WCS to displayed image, using raw numeric or string values

Syntax

ds9_put_wcs( crpix, crval, cdelt )
ds9_put_wcs( crpix, crval, cdelt [, ctype, cunit, alternate_axis_char,
handle ] )

Description

Generate a set of FITS world-coordinate system header keywords from the given inputs, and transmit them to DS9 for application to the current image frame, replacing any previous WCS keywords of the same name.

Here crpix, cdelt, ctype , and cunit inputs will generally be arrays of length two, with the first three being of Float_Type and last two of String_Type. The first element of each array will be used to construct a set of WCS transform keywords for the first image axis, and likewise the set of second elements will apply to the second image axis. If crpix is not an array, or is only of length 1, keywords for the second image axis will be generated from FITS-conformant default values.

NOTES

The alternate_axis_char is reserved for future use and is currently ignored.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.