**********************************************************
polyfit6: utility for fitting data on polynomials
input: standardin
options: -l (low: minimum error level /= 2)
-u (up: minimum error level *= 2)
-o# order of fit (#=0..9)
-d# number of discriminators (#=0..4)
-y# number of functions to be fitted (#=0..4)
-fa fit all coefficients
-fe fit only even coefficients (0,2,..)
-fo fit only odd coefficients
-fu1011..0..1 userdefine fit coefficients
-h this help
-cd interprete all expressions starting with- in first
line of data file as belonging to command line
-p print all parameters in output
-w unweighted fit (not impl.)
-r reduce order if not enough fitpoints
or indicated in inputline by appending #ro
Options can be concatenated (with only one -) and evoced
in any order.
format conventions:
input: dis[1]..dis[d#], x, yerror, y[y#]..y[y#]
output: dis[1]..dis[d#], coeff[1][0]..coeff[1][o#]..coeff[y#][o#],
confidence level, #fitpoints, sigcoeff[0]..sigcoeff[o#]
**********************************************************
source code: polyfit6.c
(needs nrutil.c and nrproc.h,
internal)
or combined: polyfit.tar.gz (internal)
executable for AIX: polyfit