CRaTER -- lf_zero

NAME

lf_zero -- Calculate zero offset of each CRaTER detector chain

USAGE

     lf_zero [-h] [-v] filename1 [filename2 ...]

FLAGS

     -h    provides help message
     -q    quick mode; ignores initial echo tags
     -v    verbose mode

DESCRIPTION

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.

DATA MARKERS required

  1. x4B00 -- start of test
  2. x0200 -- start of each data run

ENVIRONMENT

    perl5.002     Minimum version of Perl interpreter required
    CRATERTOOLS   Environment variable containing path to CRaTER utilities
    CRATER_GSE    Environment variable containing EGSE machine name

BUGS

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.

SEE ALSO

lf_zero, browse, rtlm

AUTHOR

Bob Goeke

RCS Information

$Id: ar_zero,v 1.4 2008/04/11 18:42:31 goeke Exp goeke $