save spectrum

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:

=======  ========== ========  ========================================
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

Note that if the mission is Chandra or XMM-Newton then this feature will run CIAO or SAS tasks, respectively.

HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Tuesday, 10-Jan-2023 11:03:02 EST

The HEASARC welcomes your participation in a brief survey to capture how users access and utilize HEASARC data, software, and services. The outcome(s) of this survey will be used to guide, prioritize, and plan our activities and development in the coming years. It contains 20 questions, generally takes just a few minutes to complete, and your answers will remain totally anonymous. The survey is open until Dec 18, 2023. We thank you in advance for your valuable feedback.