|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide stats.pro
stats |
procedure stats[, brange][, erange], [/full], [/chan], [ret=variable], [/quiet] |
Procedure to display some simple statistics.
Statistics are done on the contents of buffer 0. 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.
If there is no plot displayed, then brange and erange are assumed to be in units of channel number. If either is not supplied and there is no plot displayed then the full range is used.
Use /chan if brange and range are in channels instead of the currently displayed x-axis units.
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
Parameters | |
brange |
Starting value in x-axis units |
erange |
Ending value in x-axis units |