Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/6.5.0/doc/omflatindex.ps.gz
Дата изменения: Tue Aug 16 02:20:45 2005
Дата индексирования: Tue Oct 2 10:15:33 2012
Кодировка:
XMM-Newton Science Analysis System Page: 1
om atindex
August 15, 2005
Abstract
Create/maintain an index of OM at- eld data
1 Instruments/Modes
Instrument Mode
OM Slew
2 Use
pipeline processing yes
interactive analysis no
3 Description
This task creates and maintains an index of an archive of OM at- eld calibration data which is used by
the pipeline. The archive, and the format of the index le, are described in SSC-LUX-TN-0050.
The task can be run in two modes, create and insert. In create mode a new, empty at- eld archive
index is created.
In insert mode the start and stop dates of the acqusition of the at- eld are extracted from the primary
headers of the combined images (the task assumes that the earliest start time and latest stop time
correctly represent the acquisition interval). The number of counts in the modulo-8 corrected at- eld
images is also calculated. Using this information an entry is made in to the index at the proper place,
maintaining the list in ascending order of observation start time. No check is made for overlapping
observation intervals.
omflatfield is not intended for use outside the pipeline environment.
xmmsas 20050815 1803-6.5.0

XMM-Newton Science Analysis System Page: 2
4 Parameters
This section documents the parameters recognized by this task (if any).
Parameter Mand Type Default Constraints
operation yes string insert create|insert
Mode of operation (create creates the index le, insert inserts the data les into the index
indexset yes string
Name of the index le
mod8sets no string
Names of the modulo-8 corrected images (must be 4 lenames). Ignored in create mode.
combinedsets no string
Names of the combined science window images (must be 4 lenames). Ignored in create mode.
rootdirectory no string
Name of the directory in the archive holding the les. Ignored in create mode.
ppsversion no string
Version of the slew pipeline which created the les. Ignored in create mode.
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.
wrongNumber (error)
Wrong number of image les
badDirectory (error)
Root directory not speci ed
badVersion (error)
PPS version number not speci ed
badTime (error)
Bad time stamp in input le
unknownOp (error)
Unknown value for parameter opmode
di Obs (error)
Observation in les IDs di er
xmmsas 20050815 1803-6.5.0

XMM-Newton Science Analysis System Page: 3
6 Input Files
1. Archive index
2. Four combined images (optionally)
3. Four mod-8 corrected image (optionally)
7 Output Files
1. Archive index
8 Algorithm
subroutine omflatindex
Check parameters
if(mode == "create")
Create index file
else if(mode == "insert")
Open index file
Read date, observation ID from combined image files
Calculate total counts in mod-8 images
Find row index file to insert entry
Insert entry
Close index file
endif
end subroutine omflatindex
9 Comments

10 Future developments
References
xmmsas 20050815 1803-6.5.0