STScI Logo

tgausspars stsdas.analysis.fitting


NAME · USAGE · PARAMETERS · BUGS

NAME

tgausspars -- Edit the parameters for fitting a 2-d Gaussian function.

USAGE

tgausspars

PARAMETERS

(a = 0.) [real]
Initial guess for the background.
(ampl = INDEF) [real]
Initial guess for the amplitude above background. If INDEF, the maximum value found in the image will be used.
(xcent = INDEF) [real]
Initial guess for the X center position. If INDEF, the task will use the mid point in the X axis.
(ycent = INDEF) [real]
Initial guess for the Y center position. If INDEF, the task will use the mid point in the Y axis.
(fwhm = INDEF) [real]
Initial guess for the full-width half-maximum (FWHM). If INDEF, the task will set it to 1/100 of the X axis size.
(ellip = 0.) [real, min=0., max=1.]
Initial guess for the ellipticity.
(theta = 0.) [real]
Initial guess for the position angle.
(boxsize = 40) [int, min=2, max=180]
Size of square window, centered at (xcent,ycent), which defines the fitted area. If either xcent or ycent is set to INDEF, the task will set boxsize to be equal to the smaller of the image's X or Y axis. This may cause too many pixels to be included in the fit, which can slow down the computation in a significant way.
(va = no) [boolean]
Vary background?
(vampl = yes) [boolean]
Vary amplitude?
(vxcent = yes) [boolean]
Vary X center position?
(vycent = yes) [boolean]
Vary Y center position?
(vfwhm = no) [boolean]
Vary FWHM?
(vellip = no) [boolean]
Vary FWHM ellipticity ?
(vtheta = no) [boolean]
Vary FWHM position angle?

BUGS

If ANY parameter is set to INDEF, all other parameter settings will be ignored. Thus, in order to set any parameter to a non-default value, ALL parameters must be set to non-INDEF values.
SEE ALSO n2gaussfit, funcform
Package Help · Search Form · STSDAS