Fixing parameters in Gaussfit [message #6536] |
Sun, 07 July 1996 00:00 |
Mario van den Ancker
Messages: 5 Registered: June 1996
|
Junior Member |
|
|
Hi everyone,
I'm doing something like:
yfit = Gaussfit(aar3.data.wave, aar3.data.flux, A)
but sometimes I'm not real happy with the fit it returns:
It uses an A(2), which determines the width of the Gaussian,
which is much too small, fitting the Gaussian through one or
two outlying points. Therefore I want to limit the parameters
A(2) between two values I know in advance. So, does anyone
know whether this is possible and, if so, how to do this?
Thanks in advance,
Mario van den Ancker
Astronomical Institute "Anton Pannekoek"
University of Amsterdam
Kruislaan 403
NL-1098 SJ Amsterdam
The Netherlands
E-mail: mario@astro.uva.nl
WWW: http://www.astro.uva.nl/mario/
|
|
|