next up previous 241
Next: BEGPLOT - Open a plotting device
Up: PONGO Command Definitions
Previous: ARC - Draw an arc of an ellipse


AVEDAT - Average the data in the XCOL and YCOL areas

Description:
Re-bin the XCOL and YCOL data, averaging the data in each sample, and puts the result back into the XCOL and YCOL areas. The standard deviations of the averages are put into the EXCOL and EYCOL areas. There are two ways in which the averaging may be done:

  • the data may be split into N equally sized bins over the X range, and the values in each bin averaged;

  • the data may be averaged in groups of N data.


Usage:
avedat action [nbin]

Parameters:

ACTION = _CHAR (Read)
The type of binning be used for the averaging. If "X", the data are divided into NBIN bins over the X range. If "N", bins of varying widths with each containing NBIN data points are formed.

[The value will be prompted for. It has the default "X".]

NBIN = _INTEGER (Read)
Depending upon the value of ACTION, either the number of bins (ACTION="X"), or the number of points per bin (ACTION="N").

[The value will be prompted for. It has the default 10.]

XMIN = _REAL (Read)
The minimum X value to be used in the average.

[The value of the global parameter PONGO_XMIN is used. If PONGO_XMIN is not defined, the default value 0.0 is used.]

XMAX = _REAL (Read)
The maximum X value to be used in the average.

[The value of the global parameter PONGO_XMAX is used. If PONGO_XMAX is not defined, the default value 1.0 is used.]




next up previous 241
Next: BEGPLOT - Open a plotting device
Up: PONGO Command Definitions
Previous: ARC - Draw an arc of an ellipse

PONGO [2exof Applications for Interactive Data Plotting [2exon 2.0-2
Starlink User Note 137
Paul Harrison, Paul Rees,
Peter Draper, Alasdair Allan
27 March 2008
E-mail:ussc@star.rl.ac.uk

Copyright © 2010 Science and Technology Facilities Council