![]() |
![]() |
|
SAS watchout page
Why do I get problems ingesting RGS (pipeline) spectra into XSPEC V12.x and how can I solve this?XSPEC V12.x is more strict with respect to some OGIP standard keywords than former Xspec versions. Particularly, it rejects data with no keyword BACKSCAL (it was clearly specified as mandatory in the old OGIP PHA Data Extension Header in the past but it has been removed at some point from the documentation). All RGS net spectra FITS files (ie. after background subtraction) lack this keyword, while in the case of total or background spectra they contain the vector BACKSCAL as a column, and this is part of the standard.Our official pipeline (PPS) produces so far net spectra, and therefore you will get always an error with XSPEC 12.x whenever you try to read them in, in the form: XSPEC12>data SPEC.FIT ***XSPEC Error: data file missing required entries: Keyword BACKSCAL is missing or of improper type in file: SPEC.FIT How to solve this? There are several alternatives:
|
| Copyright 2012© European Space Agency. All rights reserved. |