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

Synopsis

Convert from the Chip to Focal Plane coordinate (FPC) system.

Syntax

Array_Type pix_chip_to_fpc( Integer_Type chip_id, Double_Type x,
Double_Type y )

Description

This routine converts a position in the Chip coordinate system to the matching position in the Focal Plane coordinate (FPC) system, using the current settings of the pixlib module. The FPC system corresponds to the ( DETX, DETY ) columns of a Chandra event file.

The inputs are chip ID (the ccd_id value for ACIS and chip_id value for HRC data) and the chip location (x,y) in pixels. The return value is a two-element array which gives the FPC coordinates in pixels.

Example

chips> require( "pixlib" )
chips> pix_init_pixlib
chips> fpc = pix_chip_to_fpc( 3, 512, 512 )
chips> print( fpc )
4576.94
4730.43

Using the default settings of the pixlib module (i.e. the detector is ACIS with the aimpoint on ACIS-I1), we find that the chip position (512,512) on ACIS-3 (i.e. ACIS-I3) corresponds to the location (4576.94, 4730.43) in the focal-plane system.

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.