|AHELP for CIAO 4.2||
Initialize the pixlib library.
pix_init_pixlib() pix_init_pixlib( String_Type param ) pix_init_pixlib( String_Type telescope, String_Type param )
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.
The pixlib module is not available by default; to use it in a S-Lang program, it must be loaded using the S-Lang require() function:
slsh> require("pixlib"); slsh> pix_init_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.