PISAFIT fits a radially symmetric mixed Gaussian - Exponential -
Lorentzian function to STELLAR type objects. The function is
described by three separate parameters, the gaussian sigma, the
cross over point, as a fraction of the peak intensity, from the
gaussian core to an exponential wing and the fractional mix of a
Lorentzian to these two functions at each point. The parameters
describing the resultant functional fit are stored in the GLOBAL
file and can be subsequently accessed by PISAFIND if the profile
fitting option is chosen, or by PISAGEN for generating a model
data frame of the detected objects. The fit produced by this
routine is displayed on a graphics device, together with the
residuals (derived from the variance of data contributing to
each point), so that the quality of fit can be assessed. The
user is prompted as to their satisfaction with the displayed fit,
and can re-do the fit, out to a specified radius. This cycle can
repeat until the user indicates that he is satisfied with the
fit. Experience shows that the first fit is rarely the best.
The fit parameters can be controlled, within certain limitations,
by the user. Three different forms of minimisation parameter
bounding are available. Type APM sets up the bounds so that a
minimisation as used in the original APM specification of this
routine can be performed. Type USER allows the user to directly
specify the ranges within which the fitting parameters can vary,
and type NONE freely allows the minimisation routine to fit the
function with the only restriction that the values are greater
than zero. Finally the user can specify that the fit is done
using a weighted scheme, using the shown residuals.