Saves the spectrum file. In addition, the output spectrum can be grouped or rebinned on output. The default is to rebin the spectrum. This can be turned off by saying
xsel > save spec group=no
Otherwise, the following will be done:
MISSION INSTRUMENT DATAMODE ACTION
======= ========== ======== ========================================
ASCA GIS PH GRPPHA: GROUP channels 0-1023 by 4
SIS BRIGHT RBNPHA: BRIGHT2LINEAR to 512
GRPPHA: Channels < EVTR flagged bad
SIS BRIGHT2 RBNPHA: LINEAR to 1024
GRPPHA: Channels < EVTR flagged bad
ROSAT PSPC NONE GRPPHA: Bad 1-11, 212-256
GRPPHA: GROUP 12-211 by 10
For some missions the response for the spectrum can also be calculated as part of the save process
xsel > save spec resp=yes
will create rmfs and arfs as appropriate. If the mission calculates arfs differently for point and extended sources then the latter option can be performed by
xsel > save spec resp=extend
The responses are generated by built-in routines (ports of the old perl makeresp scripts). Note that for Chandra this requires CIAO to be set up, and for XMM-Newton the local SAS is used if it is set up, otherwise the Hera service is tried.
After a fanned extraction (extract spectrum per=...), save spectrum writes one file per cell, inserting the cell suffix before the extension (see the extract section). On this multi-axis path each cell is a plain copy: the grouping/rebinning described above and the resp= response generation are skipped.