NeSDaC

whkproc



WHKPROC (may95) ftools.saxwfc WHKPROC (Jan96) NAME whkproc -- It processis both instrument and science housekeeping files of SAX-WFC converts all housekeeping values to physical units. Discards records with bad times. Produces deadtime values and detects peaks in countrates from science housekeeping data. USAGE whkproc infile outfile [options] DESCRIPTION The reulting housekeeping data files can be used as input for The determinatipon of the Good Times i=Intervals for slececting the event lists. PARAMETERS infile [string] Name of the input housekeeping FITS file to be precessed. outfile [string] Name of the cleaned and processed output housekeeping FITS file (peakfind=yes) [boolean] If positive a peakfile will be generated, the name of which is the argument of the 'peakfile' parameter (peakfile=" ") [string] The name of the output FITS file containing the rise and fall times that specify detected countrate peaks. (deadcalc=yes) [boolean] If positive a deadtime file will be generated, the name of which is the argument of the 'deadfile' parameter (deadfile=" ") [string] The name of the output FITS file containing the calculated deadtimes per second. (calfile1=" ") [string] The name of the input FITS file that contains the coordinates of the area boxes used for clipping and storing all events being located in any of these rectangulars. The data only pertains to events of SAX WFC-1. The purpose is to store separately all the events that come from the In-Flight Calibration sources for further gain calculations. For a description of the relevant table in this file, see TBD. (calfile2=" ") [string] Same as for calfile1, only used for SAX WFC-2. (convsec=no) [boolean] Option to convert the value in the time column to seconds. This normally is not needed, but is hady when making plots with 'fplot' the standard ftools plot facility. (tforce=no) [boolean] Option to force the task ito running in test mode. This will introduce artificial rate burst to test the peakhunt routines. (verbsty=0) [integer] The verbosity level will control the output volume. EXAMPLES 1. Clean and convert a science housekeeping file and produce a file with peak detection results. -> whkproc OBS_phs0 OBS_phs1 peakfind=yes peakfile=peak tforce=yes 2. Clean and convert an instrument housekeeping file and produce and convert the time to seconds -> whkproc OBS_phi0 OBS_phi1 convsec=yes KNOWN BUGS - Deadtime calculation formula not yet established - Time holes may present problems ? SEE ALSO wfotfits, wmakgti, wqplot, fplot
Back to: