16.5 Converting XAS files to/from OGIP FITS files


Some kind of data files (although formally FITS) have very peculiar formats according to the OGIP conventions used by some X-ray astronomy packages. Dedicated programs exist to handle these peculiarities (however only mandatory items are handled; any optional keyword must be added/edited care of the user using target package's facilities).

Note that response matrices can be accumulated directly in OGIP form, without need of conversion.


There are two commands to handle XAS <--> OGIP conversion : Beware that the conversion from/to FITS is handled using the FITSIO library, and therefore it uses that library's error conventions (in particular an existing FITS file is never overwritten, contrary to XAS usage) and codes.

[Previous][Next] [Up]