Produced by IDL 6.1
User Documentation

./guide
stats.pro

Last modification date:
Thu Jun 2 23:56:08 2005

stats

procedure stats[, brange][, erange], [/full], [ret=variable]

Procedure to display some simple statistics. Statistics are done on the contents of the promary DC. One can specify the range over which statistics will be computed in any of several ways. To specify a begin and end x-value in the currently displayed x-axis units, use the parameters brange and erange. If no x-axis range is given, the user is prompted to specify the region of interest using the mouse.

Examples
    getrec,1
    show               ; Use the plotter to set the X-axis to channels
    stats,0,99         ; Gets stats for first 100 channels
    show               ; Use the plotter to set the X-axis to GHz
    stats,1.420,1.421  ; Gets stats
    stats              ; User clicks plot to determine stats region
    stats,ret=mystats  ; Return stats in a structure
    print,mystats.rms
 
Version
$Id: stats.pro,v 1.8 2005/05/30 04:03:43 bgarwood Exp $
Common blocks
gbtplot_common

Parameters
brange
in, optional
float
Starting value in x-axis units
erange
in, optional
float
Ending value in x-axis units

Keywords
full
in, optional
boolean
Compute stats for full spectrum?
ret
out, optional
variable
Structure containing results


Produced by IDLdoc 1.6 on Thu Jun 2 23:56:51 2005