Problems with curvefit [message #8478] |
Wed, 12 March 1997 00:00 |
Emilio Martines
Messages: 4 Registered: March 1997
|
Junior Member |
|
|
Hello. I am using curvefit in IDL 4.0.1 for fitting a set of data point
with a curve of the form
y=a*(exp((x-b)/c)-1)
where x is the dependent variable and a,b,c are the fit parameters.
It usually works fine, but sometimes, when the data are really bad, it
goes into an infinite loop. Since the fit is embedded into a more
complex program, this is very annoying. I would rather like the routine
to exit nicely, even without performing the fit. Has anyone found the
same problem? Is there a solution? Thanks a lot.
Emilio
------------------------------------------------------------ --------------
| Emilio Martines | E-mail: martines@igi.pd.cnr.it
|
| Consorzio RFX | phone: +39 (49) 8295065
|
| corso Stati Uniti, 4 | fax: +39 (49) 8700718
|
| 35127 Padova |
|
| Italy |
|
------------------------------------------------------------ --------------
| And now I know that we must lift the sail
|
| and catch the winds of destiny
|
| wherever they drive the boat.
|
| Edgar Lee Masters (Spoon River Anthology)
|
------------------------------------------------------------ --------------
|
|
|