Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/6.1.0/doc/rgsevconvert.ps.gz
Дата изменения: Mon Nov 22 22:39:13 2004
Дата индексирования: Tue Oct 2 11:20:42 2012
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п п
XMM-Newton Science Analysis System Page: 1
rgsevconvert
November 22, 2004
Abstract
Converts an old-style RGS combined event list le to the current format.
1 Instruments/Modes
Instrument Mode
RGS SPECTROSCOPY
2 Use
interactive analysis yes
3 Description
This task upgrades an old-style RGS combined event list for minimal compliance with current speci -
cations for the ltered, combined event list. Minimal compliance means that it meets the requirements
of rgsregions, rgsspectrum and rgsrmfgen. The conversion is performed in-place and the input le
is destructively changed in the sense that any obsolete constructs are converted and removed. If the
input le possesses none of these constructs it is left unchanged. Consequently, this task may be invoked
repeatedly on the same le, or on a combined event list that already meets current speci cations, without
concern for damage or error.
4 Parameters
This section documents the parameters recognized by this task (if any).
Parameter Mand Type Default Constraints
set yes dataset ltered.ds
A ltered, combined RGS event list.
xmmsas 20041122 1834-6.1.0

XMM-Newton Science Analysis System Page: 2
5 Errors
This section documents warnings and errors generated by this task (if any). Note that warnings and
errors can also be generated in the SAS infrastructure libraries, in which case they would not be docu-
mented here. Refer to the index of all errors and warnings available in the HTML version of the SAS
documentation.
6 Input Files
 set
The input dataset must contain a table named EVENTS with columns named PI, BETA CHANNEL
and XDSP CHANNEL. It is expected that this will be the ltered, combined event list produced
by SAS version 5.0, but les lacking obsolete constructs are accepted as well and left un-
changed.
7 Output Files
 set
The input dataset is modi ed in place. Obsolete constructs are removed and replaced as
faithfully as possible with the most current equivalent.
xmmsas 20041122 1834-6.1.0

XMM-Newton Science Analysis System Page: 3
8 Algorithm
========== convert the EVENTS table ==========
IF ( exists attribute PI_REF )
add WCS attributes to the PI column:
TCRPX = 0
TCRVL = PI_REF
TCDLT = PI_WID
delete attributes PI_REF and PI_WID
IF ( exists attribute BETA_REF )
add WCS attributes to the BETA_CHANNEL column:
TCRPX = 0
TCRVL = BETA_REF
TCDLT = BETA_WID
delete attributes BETA_REF and BETA_WID
IF ( exists attribute XDSP_REF )
add WCS attributes to the XDSP_CHANNEL column:
TCRPX = 0
TCRVL = XDSP_REF
TCDLT = XDSP_WID
delete attributes XDSP_REF and XDSP_WID
========== convert the EXPMn_0c images ==========
FOR EACH ccd
FOR EACH node
IF ( exists block EXPM_0 )
rename block to EXPMAP
add WCS attributes:
CRPIX1 = 1
CRVAL1 = BETA_REF
CDELT1 = BETA_WID
CRPIX2 = 1
CRVAL2 = XDSP_REF
CDELT2 = XDSP_WID
delete attributes BETA_REF, BETA_WID, XDSP_REF, XDSP_WID
9 Comments
References
xmmsas 20041122 1834-6.1.0