Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/8.0.0/doc/omcosflag.ps.gz
Дата изменения: Wed Jul 2 10:25:24 2008
Дата индексирования: Tue Oct 2 07:30:51 2012
Кодировка:

Поисковые слова: arp 220
XMM-Newton Science Analysis System Page: 1
omcos ag
July 2, 2008
Abstract
Applies the OM tracking history to a bad pixel map
1 Instruments/Modes
Instrument Mode
OM FAST
OM IMAGING
2 Use
pipeline processing yes
interactive analysis yes
3 Description
The shift and add process means that the counts observed in each pixel of an OSW image may have been
accumulated in several di erent detector pixels. This task takes the OM tracking history and applies it
to the map of bad pixels de ned in the CCF. The result is an increase in the area of the OSW image
contaminated by bad pixels. The bad pixel map produced by this task will be used by the source detection
algorithms and the ommodmap task. The binning of the bad pixel map, and the o set of the science
window, are read from the headers of the OSW image, which is an input of the task.
4 Parameters
This section documents the parameters recognized by this task (if any).
Parameter Mand Type Default Constraints
samplefactor no integer 1 1 - 10
Spatial oversampling factor (oversampling of bad pixel map)
timefactor no integer 1 1 - 10
xmmsas 20080701 1801-8.0.0

XMM-Newton Science Analysis System Page: 2
Temporal sampling factor (subdivision of tracking frame spacing)
set yes string none
OM OSW Image lename
thxset yes string none
OM Tracking History Data Auxiliary lename
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.
badFileMode (fatal)
Invalid datamode in set
allocError (fatal)
Can't allocate memory for internal array .
deAllocError (warning)
Failed to release memory for
corrective action:
6 Input Files
1. OM OSW Image le
2. OM Tracking History Data Auxilliary le
7 Output Files
1. Same OM OSW Image le as input image (QUALITY extension added)
8 Algorithm
subroutine omcosflag
read in task parameters
open OM OSW Image file
xmmsas\_20080701\_1801-8.0.0

XMM-Newton Science Analysis System Page: 3
determine file type from datamode in primary header
read in science window keywords from the primary header
extract window data from MODES binary table extension
open OM Tracking History Data Auxiliary file
determine file type from datamode in primary header
extract tracking history data from OMTHX1 binary table extension
check for poor tracking solution and warn
extract bad pixel map from CAL
calculate maximum drift in x and y
extract localised bad pixel map allowing for maximum drifts
over sample localised bad pixel map
loop over tracking frames to construct oversampled quality array
loop over discretised tracking steps
logical OR oversampled quality array with shifted oversampled bad pixel map
end loop
end loop
add QUALITY extension to OM OSW Image file
resize and bin quality array with appropriate binning factors
write quality array to QUALITY extension of OM OSW Image file
end subroutine omcosflag
9 Comments
 none
10 Future developments
 The QUALITY array is currently composed of 8-bit integers, but should probably be
boolean.
xmmsas 20080701 1801-8.0.0

XMM-Newton Science Analysis System Page: 4
References
xmmsas 20080701 1801-8.0.0