lf_zero -- Calculate zero offset of each CRaTER detector chain
lf_zero [-h] [-v] filename1 [filename2 ...]
-h provides help message
-q quick mode; ignores initial echo tags
-v verbose mode
This script assumes the existance of one or more files which contain the data from a zero-crossing test. The script collects the data file with browse and pipes the data through rtlm before searching for echo data markers and then doing the math.
The script takes 4000 science data points (about 2 seconds worth) at two different internal cal values and calculates the extrapolated zero crossing point (which, because the electronics is detecting the peak signal + noise, tends always to be positive). The RMS noise present on the (low) internal cal signal is also displayed.
perl5.002 Minimum version of Perl interpreter required
CRATERTOOLS Environment variable containing path to CRaTER utilities
CRATER_GSE Environment variable containing EGSE machine name
The internal calibration signals have non-linearities, Cal High much worse than Cal Low. We therefore base the zero offset calculations on two values below 10% of full scale.
lf_zero, browse, rtlm
Bob Goeke
$Id: ar_zero,v 1.4 2008/04/11 18:42:31 goeke Exp goeke $