next up previous contents
Next: Stage-II programs Up: Stage-I programs Previous: wshift

wslew

WSLEW -----

FUNCTION Program to process eventdata during recorded during slewing to produce instrument pointing and countrates per timebin.

USAGE wslew infile attfile outfile [optional parameters]

DESCRIPTION Eventfiles are processed so that the actual countrates over the detector can be calculated. To exclude the counts of the In-Flight Calibration sources filtered files should be used.

PARAMETERS

infile [string] The name and extension number in square brackets of the input FITS table extension containing the list of events to be filtered. If no extension is given the complete file with all its extension will be processed.

attfile [string] Name of the input attitude FITS file needed for calculating the actual instrument pointing

outfile [string] Name of the resulting FITS file containing per timebin the event flux and instrument pointing.

(bintime=2.0) [real] The time in seconds per accumulation of eventrates.

(calfile1=" ") [string] The name of the input FITS file that contains among others the misalignment angles to calculate the instrument pointing.

(calfile2=" ") [string] Same as for calfile1, only used for SAX WFC-2.

(tcolumn="WFC_TIME") [string] The name of the column in INFILE that contains the time stamp value that is used to determine if that row falls within one of the input Good Time Intervals. The values in this column should be in units of seconds relative to the start time ?? specified by the obsdate and obstime keywords in the header of the extension.

(obsdate="-") [string] The name of the keyword containing the reference date in the input events table. The value can either be blank (or "-") to defeat the reference checking, in julian days or in 'dd/mm/yy' format.

(obstime="MJDREF") [string] The name of the keyword containing the reference time in the input events table in 'hh:mm:ss.ddd' format. This parameter is only used if obsdate is in dd/mm/yy format.

(obsunit="T_SCALE") [string] The name of the keyword containing the units of the time column. If omitted unites of 1 second are assumed.

(blockio=yes) [boolean] Option to write output data files in fast block transfer mode. This may introduce a non-standerd FITS format that cannot be used across different computer systems.

(verbsty=0) [integer] The verbosity level will control the output volume.

(tforce=no) [boolean] Option to force the start time of attitude data to be aligned with that of the event data. (only use for TEST purposes)

(title=" ") [string] User caption to be tagged to each output FITS file header

EXAMPLES

1. Make file with detector fluxes per 5 seconds

--> wslew OBSw1srn1 FOTw1att1 OBSw1ssl2 bintime=5.

NOTES - The program uses the parameter passing of the FTOOLS convention. - Presently countrates not corrected for deadtime.

SEE ALSO wfotfits, wgtiflt



next up previous contents
Next: Stage-II programs Up: Stage-I programs Previous: wshift



Mark Savenije
Sat Jan 18 15:04:49 MET 1997