| darkv | stsdas.hst_calib.hsp | darkv |
darkv -- Calculate the dark signal of each individual dark observation.
darkv intable outtable type
This task calculates dark signals from dark observations data. For the four image dissector tubes (IDT's), these dark observations are readings obtained at dark apertures which are spots that do not correspond to real aperture openings. For the photomultiplier tube (PMT), dark observations are observations of the sky where no target is in the field of view. This task operates on only one data type at a time. If observed data have both analog and digital data, then the task must be run twice. If the data type is digital, then the raw data will be corrected for pre-amp noise as follows:
scaled digital count rate = raw digital count rate -
pre-amplifier noise
If the data type is analog, then the raw data will be corrected as follows:
scaled analog count rate = (raw analog DN - CVC offset) /
gain factor - pre-amplifier noise
The maximum number of input data points is 2,000.
'DETECTOB' Object detector ID (int). 'APERTOBJ' Object aperture name (char*10). 'VOLTAGE' High voltage setting (real). 'VGAIND' Gain setting (real). 'THRESH' Discriminator setting (real). 'DET_TEMP' Detector temperature (real). 'DEA_TEMP' DEA temperature (real). 'EPOCH' Epoch of observation (double). 'PTSRCFLG' Point source flag (char*1). For digital data, the following columns are also needed: 'DOBJ' Digital count rate (real). 'DOBJ_ERR' Mean error of digital count rate (real) For analog data, the following columns are also needed: 'AOBJ' Analog reading (real). 'AOBJ_ERR' Mean error of analog reading (real).
'APER_NAME' Aperture name (char*4). 'VOLTAGE' High voltage setting (real). 'TYPE' Data type (char*7). 'DARK' Calculated dark signal (real). 'DARK_ERR' Error of the dark signal (real). (temp_key) The temperature; the actual column name is passed from the 'temp_key' parameter (real). 'EPOCH' Epoch of observation (double),
1. Calculate dark signals from the input data table xdarkv$input and put results in the output table ydarkv$output while saving the intermediate result in another local table whose name will be announced to the user. The data type in the input table is digital.
hs> darkv "xdarkv$input" "ydarkv$output" "digital" save = yes