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

Synopsis

Convert from the Focal Plane (FPC) to Grating Dispersion Plane (GDP) coordinate system.

Syntax

Array_Type pix_fpc_to_gdp( Double_Type x, Double_Type y )

Description

This routine converts a position in the Focal Plane coordinate (FPC) system to the matching position in the Grating Dispersion Plane (GDP) coordinate system, using the current settings of the pixlib module. The inputs (x,y) are the position in the FPC system. The return value is a two-element array which gives the GDP coordinates in pixels.

Example

chips> require( "pixlib" )
chips> pix_init_pixlib
chips> pix_set_detector( "HRC-S" )
chips> gdp = pix_fpc_to_gdp( 42000, 17300 )
chips> print( gdp )
40545.9
169.415

Using the default settings of the pixlib module for the HRC-S detector (i.e. the aimpoint is on HRC-S2), we find that the FPC location (42000, 17300) corresponds to the GDP position (40545.9, 169.415).

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.