CRaTER -- c_hist


c_hist -- Generate histogram of primary science results


     c_hist [-a #] [-b #] [-h] [-l] [-v] [file_name]


      -a #    specifies the lowest channel of interest
      -b #    specifies the highest channel of interest
      -h      gets full help message
      -l      reports results log-base-10 
      -v      makes the output verbose (to STDERR)


We generate a tab-separated histogram of science data in the format

              Channel D1 D2 D3 D4 D5 D6

The lower and upper bounds of the channels of interest may be chosen with the -a and -b flags, respectively. The output may be either linear or logrithmic and is sent to STDOUT. (NB c_graph assumes a linear scale on its input.)

The input file must be in LRO-standard CCSDS packet format. rtlm is used to retrieve the data, so the file may be either normal or compressed. If no input file is provided, the program will read from STDIN, assuming a format compatible with the output of an rtlm -a process.


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


None reported yet; but it's early.


rtlm, c_graph


Bob Goeke

RCS Information

$Id: c_hist,v 2.1 2007/05/04 13:47:26 goeke Exp goeke $