This script is displaying detector spectra using root. You can use this on
data which are of BIN_I level or higher.
The maximum number of spectra displayed is 20. As in the case of
spi_spectral_display result appears in a separate ROOT display,
see discussion in Section
. Parameters of the script
are given in Table
. There are no hidden parameters in the script.
Table:
spi_dsp_display parameters
|
|
|
Name |
Type |
Description |
obs_group |
string |
DOL of the observation Group to work with
default: ``og_spi.fits[GROUPING]'' |
dsp_dol |
string |
DOL of the detector spectrum.
You have not to set it
when an observation group containing spectra is given.
default: ``'' |
ebounds_dol |
string |
DOL of the energy boundaries.
You have not to set it
when an observation group containing spectra is given.
default: ``'' |
detector |
integer |
number of the detector to display the spectrum
possible values: 0 - 141, also you can use
-1 for all detectors,
and -2 for their sum.
default: -2 |
pointing |
integer |
pointing number to be displayed
possible values: -1 for all pointings,
and -2 for their sum.
default: -2 |
main_title |
string |
Main title of the plot (appears only on the top of the display)
default: ``Detector spectrum'' |
perkev |
boolean |
Flux units
possible values:
``yes '' for displaying the spectra in counts/keV
``no'' for displaying the spectra in counts
parameters perkev and persec can be used in any combination.
default: yes |
persec |
boolean |
Flux units
possible values:
``yes '' for displaying the spectra in counts/sec
``no'' for displaying the spectra in counts
parameters perkev and persec can be used in any combination.
default: yes |
chatter |
integer |
Chatter level.
possible values: 0 - 10
0 = no screen dump information,
10 = maximal screen dump
default: 1 |