diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /math/bevington/man/xfit.3m | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'math/bevington/man/xfit.3m')
-rw-r--r-- | math/bevington/man/xfit.3m | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/math/bevington/man/xfit.3m b/math/bevington/man/xfit.3m new file mode 100644 index 00000000..53ed8ae8 --- /dev/null +++ b/math/bevington/man/xfit.3m @@ -0,0 +1,29 @@ +.TH XFIT 3M +.SH NAME +xfit +.SH DESCRIPTION +subroutine xfit.f + +source + Bevington, page 76. + +purpose + calculate mean and estimated errors for set of data points + +usage + call xfit (x, sigmax, npts, mode, xmean, sigmam, sigma) + +description of parameters + x - array of data points + sigmax - array of standard deviations for data points + npts - number of data points + mode - determines method of weighting + +1 (instrumental) weight(i) = 1./sigmax(i)**2 + 0 (no weighting) weight(i) = 1. + -1 (statistical) weight(i) = 1. + xmean - weighted mean + sigmam - standard deviation of mean + sigma - standard deviation of data + +subroutines and function subprograms required + none |