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

Synopsis

Initialize the pixlib library.

Syntax

pix_init_pixlib()
pix_init_pixlib( String_Type param )
pix_init_pixlib( String_Type telescope, String_Type param )

Description

After the pixlib module has been loaded, the pix_init_pixlib() function must be called before any other routine from the module is called. The param argument param gives the name of the parameter file file to use to set up the library; it defaults to "geom". The telescope argument defaults to the value of "flight"; other settings are not recommended.

Example

chips> require("pixlib")
chips> pix_init_pixlib

Bugs

Restarting pixlib

Pixlib should not be closed and re-initialized within a single session, as this causes internal variables to be mis-set and incorrect results produced. This bug will be addressed in a future release; the simple workaround is to call pix_init_pixlib only once, immediately after the call to require("pixlib").

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.