diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /pkg/lists/doc/average.hlp | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/lists/doc/average.hlp')
-rw-r--r-- | pkg/lists/doc/average.hlp | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkg/lists/doc/average.hlp b/pkg/lists/doc/average.hlp new file mode 100644 index 00000000..3cfd5599 --- /dev/null +++ b/pkg/lists/doc/average.hlp @@ -0,0 +1,49 @@ +.help average Jul86 lists +.ih +NAME +average -- compute the average and standard deviation +.ih +USAGE +average option +.ih +PARAMETERS +.ls option +Chosen from "add", "subtract" or "new_sample", +in which case the numbers averaged are those in STDIN. +If no argument is given on the command line, "new_sample" is assumed. +.le +.ih +DESCRIPTION +Task \fIaverage\fR computes the average and standard deviation of a list +of numbers. Numeric input is read from STDIN with one number per line. +The mean, sigma and number of samples are written to the standard +output. + +By default, the sample is taken to be +the set of numbers in the standard input when \fIaverage\fR is run. +Additional points can be added to or deleted from the sample by rerunning +\fIaverage\fR with \fBoption\fR equal to one of the following: +.nf + + add -- add points to the sample, recalculate mean and sigma + sub -- subtract points from the sample +.fi + +The sample is reinitialized by setting \fBoption\fR = "new_sample". +.ih +EXAMPLES +Run \fIaverage\fR on the list of numbers in file "numbers". +.nf + + cl> type numbers | average +.fi + +Add in to the sample the list of numbers in file "numbers.2". +.nf + + cl> average add < numbers.2 +.fi +.ih +SEE ALSO +lintran +.endhelp |