XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


specgroup (specgroup-1.7.1) [xmmsas_20211130_0941-20.0.0]

Associated file keywords

The task will write the associated background, response and effective area filenames into keywords in the output spectrum header so that they can be picked up by spectral fitting software.


\begin{code}{\em
specgroup spectrumset=srcspec.ds addfilenames=yes arfset=myarf.ds \\
rmfset=myrmf.ds backgndset=mybgnd.ds
}\end{code}

will fill the ANCRFILE, BACKFILE and RESPFILE keywords in the spectrum header. If the background, ARF or response files are not given on the command line then these keywords will be set to the value that they had in the input spectrum or if not present in the input file they will be set to 'NONE'.

Some spectra contain the header keyword 'GROUPING=0'. If this exists in the header of the input spectrum it will be removed from the output file. All other keywords will be copied over.



XMM-Newton SOC -- 2021-11-30