CRaTER -- lf_zero

NAME

lf_zero -- Calculate zero offset of each CRaTER detector chain

USAGE

     lf_zero

FLAGS

     none

DESCRIPTION

This script connects to the CRaTER GSE with bcmd and CStatistics, running two different amplitudes of Cal Low and calculating from the results the apparent zero offset of the individual detector chains.

This script is part of the Long Form Functional Test. It assumes no particular instrument state and leaves the instrument in RESET.

DATA MARKERS -- embedded via ``echo''

  1. x0200 -- start of data run
  2. xFFFF -- end of 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

CStatistics, bcmd

AUTHOR

Bob Goeke

RCS Information

$Id: lf_zero,v 1.5 2008/04/09 18:54:54 goeke Exp goeke $