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 /math/curfit/doc/cvacpts.hlp | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/curfit/doc/cvacpts.hlp')
-rw-r--r-- | math/curfit/doc/cvacpts.hlp | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/math/curfit/doc/cvacpts.hlp b/math/curfit/doc/cvacpts.hlp new file mode 100644 index 00000000..c5a6cffd --- /dev/null +++ b/math/curfit/doc/cvacpts.hlp @@ -0,0 +1,54 @@ +.help cvacpts Jun84 "Curfit Package" +.ih +NAME +include <math/curfit.h> + +cvacpts -- fit a curve to a set of data values +.ih +SYNOPSIS +cvacpts (cv, x, y, weight, npts, wtflag) + +.nf +pointer cv # curve descriptor +real x[] # array of x values +real y[] # array of y values +real weight[] # array of weights +int npts # number of data points +int wtflag # type of weighting +.fi +.ih +ARGUMENTS +.ls cv +Pointer to the curve descriptor structure. +.le +.ls x +Array of x values. +.le +.ls y +Array of y values +.le +.ls weight +Array of weights +.le +.ls wtflag +Type of weighting. The options are WTS_USER, WTS_SPACING and +WTS_UNIFORM. If wtflag = WTS_USER individual weights for each data point +are supplied by the calling program and points with zero-valued weights are +not included in the fit. If wtflag = WTS_UNIFORM, all weights are assigned +values of 1. If wtflag = WTS_SPACING, the weights are set equal to the +difference between adjacent data points. In order to correctly use the +WTS_SPACING option the data must be sorted in x. +.le +.ih +DESCRIPTION +CVACPTS zeroes the matrix and vectors, calculates the non-zero basis functions, +calculates the contribution +of each data point to the normal equations and accumulates it into the +appropriate array and vector elements. +.ih +NOTES +Checking for out of bounds x values is the responsibility of the user. +.ih +SEE ALSO +cvaccum +.endhelp |