% @(#)fit_imag.hlq 17.1.1.1 (ESO-IPG) 01/25/02 17:11:28 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT fit_imag.hlq %.AUTHOR JDP,PhD, IPG/ESO %.KEYWORDS MIDAS, help files, FIT/IMAGE %.PURPOSE On-line help file for the command: FIT/IMAGE %.VERSION 1.0 20-FEB-1986 : Creation, JDP,PhD %---------------------------------------------------------------- \se SECTION./IMAG \es\co FIT/IMAGE 20-FEB-1986 JDP,PhD \oc\su FIT/IMAGE [nfeval[,prec[,metpar]]] [image[,wgt]] [funct] fit image values \us\pu Purpose: Fit a user defined function to an image. The user function is defined with the command EDIT/FIT. See SET/FIT for modifying the method, weighting or printing qualifiers. \up\sy Syntax: FIT/IMAGE [nfeval[,prec[,metpar]]] [image[,wgt]] [funct] \ys\pa nfeval = maximum no. of function evaluations to be performed. If nfeval larger than initial values of the parameters are the user guesses nfeval smaller than initial values are taken from the previously computed parameter values \ap\pa prec = precision to be achieved. \ap\pa metpar = method parameters (different from one method to another, see manual for more details) \ap\pa image = image to be fitted \ap\pa wgt = optional weight or deviation of the measurements (see SET/FIT WEIGHT= ) \ap\pa funct = is the user defined function name. By default the last used function is taken. \ap\no Note: none \on\exs Examples: \ex FIT/IMAGE 10,0.0005,0.2 IMAGE TEST perform 10 iterations of the fit, with a relaxation factor 0.2 (for a METHOD=NEWTON), to reach a precision of 0.0005. Initial values of the parameters are the user guesses defined in the function TEST \xe\ex FIT/IMAGE -10,0.5,0.0005 IMAGE perform 10 iterations of the fit, using as initial parameters the values computed by the previous command. \xe \sxe