ascaexpo -- Generate an exposure map for an ASCA observation.
ascaexpo evtfile calfile attfile ratefile instfile
expofile attstep rebin binoff
where,
datafile = name of event file for which an exposure map is to be made.
calfile = name of input teldef file (or CALDB).
attfile = name of input attitude file (or DEFAULT/NONE).
ratefile = name of input rate file (or NONE).
instfile = name of input instrument file (or NONE).
expofile = name of output exposure map (or DEFAULT).
imapfile = name of output instrument map (or DEFAULT).
skyfile = name of output image sky map (or DEFAULT).
attstep = Maximum attitude deviation (arcsec) per step, or if
negative, the number of attitude records to skip each step.
rebin = image rebin factor (if instfile=NONE; -1 for default)
binoff = pixel numbering convention offset ( 0.0 == 0.0<pixel<1.0 ).
( 0.5 == 0.5<pixel<1.5 ).
Routine to calculate the net exposure time per sky pixel for a given observation. The total time seen by each sky pixel on the detector is computed using an instrument map and the reconstructed aspect. The observation is sampled between GTIs and interpolated between the attitude records.
The resultant map depends on the type of input map supplied to this routine:
INPUT INSTRUMENT MAP OUTPUT EXPOSURE MAP
NONE (Uniform detector mask) Net observation time per pixel
Detector mask (0/1's shadow mask) Geometric exposure time
Detector efficiency Detector flat-field
Detector + mirror efficiency Observation flat-field
The output exposure map is created with the same dimensions as the input instrument map. If no instrument map is supplied (instfile=none), the program will generate a uniform mask with the dimensions of the input event file image size, and may be rebinned by an integral factor.
For the SIS, the hot pixel extension is read and used in the calculation. The address discrimination information is obtained from the header of the SIS observation file, which is assumed fixed over the duration of the file. If a rate file is given with the appropriate information, the number of SIS saturated frames and Address Discrimination changes will be computed.
This version does not include GIS dead time.
.lsverbose [logical] (hidden parameters) The verbose flag: run time information updates.
(also see USAGE) 1) Make exposure map for evtfile using teldef file from the CALBD, step through every tenth record of the default attitude file, and use an internally generated instrument map and no rate file information:
ascaexpo evtfile caldb attfile none none default default
default -10 -1 0.0
2) Make a time independent exposure map using an internally generated instrument map:
ascaexpo evtfile teldef none none none default default
default -1 0.0
.if BUGS GIS dead time not included in this version.
SIS frame saturation is under development in this version.
Compatible with ASCALIN V0.9m and higher.
Eric Gotthelf.
ASCALIN, ATTITUDE, CLEANSIS.