Home »
Public Forums »
archive »
Re: 2D non-linear, least-squares fitting routine needed
Re: 2D non-linear, least-squares fitting routine needed [message #4918] |
Fri, 25 August 1995 00:00 |
rivers
Messages: 228 Registered: March 1991
|
Senior Member |
|
|
In article <DDtt1x.uF@nntpa.cb.att.com>, windt@nanook.div111.att.com (David L. Windt) writes:
> I'm wondering if there are any IDL procedures available to perform
> 2D non-linear least-squares fitting, i.e., the equivalent of
> the CURVEFIT function (using a user-defined, multi-parameter
> FUNCTION) for 2-dimensions. It doesn't look like any of the
> fitting procedures contained in the standard library do that.
>
CURVEFIT can be used for 2D curve fitting. It just minimizes the sum of
squares of residuals of a set of "observations" and "predictions". It doesn't
really matter if those observations are on a 1-D, 2-D or n-D grid. You do need
to call REFORM in the function which you write that CURVEFIT calls at each
point, but that is trivial.
____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
|
|
|
Current Time: Fri Oct 10 16:34:48 PDT 2025
Total time taken to generate the page: 0.23741 seconds