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/pix_get_grating_wavelength.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 pix_get_grating_wavelength Context: pixlib

Synopsis

Return the photon wavelength corresponding to a given grating dispersion (GAC) value.

Syntax

Double_Type pix_get_grating_wavelength( Double_Type x, Double_Type y )

Description

Calculates the wavelength, in Angstrom, for a given grating position and using the current pixlib settings. The x and y values are in the GAC coordinate system, and so represent the grating dispersion and cross-dispersion angles in degrees. The grating order - as set by pix_set_grating() - must be non-zero for this routine to work.

The pix_get_energy() routine can be used to find the energy of the photon instead of the wavelength.

Bugs

See the bugs page for the pixlib library on the CIAO website for an up-to-date listing of known bugs.

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.