CRaTER -- c_grep

NAME

c_grep -- Filter the CRaTER primary science data

USAGE

     c_grep [-a #] [-b #] [-h] [-s] [-v] 12 123 ...

FLAGS

      -a #    specifies the lowest channel of interest
      -b #    specifies the highest channel of interest
      -h      gets full help message
      -s      strip out all non-event data
      -v      makes the output verbose (to STDERR)
     args     discrimnator mask matches

DESCRIPTION

Assuming a datastream originating from an rtlm -a command, c_grep looks (only) at the EventAmp data and discards any line which does not meet both the discriminator mask and low/high amplitude criteria specified.

Normally all non-EventAmp lines are passed through unchanged; if the -s flag is given, however, those lines are rejected also, so that the resulting stream consists of a single Time entry, a single SerialNumber entry, and EventAmp entries which meets the selection criteria.

ENVIRONMENT

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

BUGS

None reported yet; but it's early.

SEE ALSO

rtlm

AUTHOR

Bob Goeke

RCS Information

$Id: c_grep,v 1.3 2007/04/27 19:30:16 goeke Exp goeke $