Command FIT


    Parameters    Defaults

FIT windows       
    /
    LEASTSQUARES  
    POISSON       
    ZEROES        
    ERRANALYSIS   
    ITERATIONS(it) 10
    TIME(tt)       60
    LIST          
    NODISPLAY     

Purpose

  Perform fit of the specified function(s) to the data

Parameter WINDOWS(wdws)

List of display window names or condition numbers or
# (for temporary window) defining the fit region.
If omitted the fit region is defined by the fit windows.
In any case only displayed data are fitted.

Parameter LEASTSQUARES

Selects chi-square fitting with the least squares method.
This is the default.
Weighting factors are derived from the symmetrized errors in y-direction.

Parameter POISSON

Selects fitting according to the maximum likelihood method.
With this method the y-value of each data point is assumed to follow
a Poisson distribution, which is appropriate for low counting rates.
Not yet implemented

Parameter ZEROES

Include data points with y=0 in the fit. Normally such data are not considered.

Parameter ERRANALYSIS

Perform an extensive analysis for the fit parameter (asymmetric) errors.
Might be time consuming !

Parameter ITERATIONS(it)

Maximum number of iterations.

Parameter TIME(tt)

Maximum amount of CPU time for a particular fit.
After expiration the iteration loop is aborted.
Unlimited time for tt<=0.

Parameter LIST

List fit statistics each iteration

Parameter NODISPLAY

Don't display intermediate fit curves