CRaTER -- lf_cobalt

NAME

lf_cobalt -- Run a Co-60 test and plot the results

USAGE

     lf_cobalt [-a ###] [-b ###] [-h] [-r filename] [-v] time

FLAGS


     -a     sets low channel for plot
     -b     sets high channel for plot
     -c     generates color Postscript plots [B&W]
     -h     standard help message
     -r     read data from file
     -v     verbose message mode

DESCRIPTION

This script connects to the CRaTER GSE with bcmd and acquires time minutes of science data, makes histograms of the six detector channel events, and plots the results. The plots are both display on the screen and available for printing.

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

DATA MARKERS

These are embedded in the data stream via ``echo''

  1. x0C00 -- start of Co-60 data run
  2. x0CFF -- end of Co-60 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

bcmd, c_hist, c_graph

AUTHOR

Bob Goeke

RCS Information

$Id: lf_cobalt,v 1.6 2008/09/12 19:42:36 goeke Exp goeke $