Home »
Public Forums »
archive »
Re: Need 2-dimensional Y versus X curve fit routine
Re: Need 2-dimensional Y versus X curve fit routine [message #9504] |
Thu, 10 July 1997 00:00 |
rivers
Messages: 228 Registered: March 1991
|
Senior Member |
|
|
In article <5q2uvg$9vh$1@coyote.dres.dnd.ca>, jmcfee@dres.dnd.ca (John McFee) writes:
>
>
> CURVEFIT in the IDL built-in library which performs a nonlinear fit of a 1-D data vector
> Y to a function of a 1-D vector X and a parameter vector A. I am looking for a routine
> similar except that Y and X are two dimensional (time versus depth). CURVEFIT is based
> on Bevington's CURVFIT (Marquardt's method). I extended a fortran CURVFIT routine to 2-D
> some years ago, but hate to repeat the effort in IDL. Has anybody got a 2-D version? >
> I've already checked the searchable IDL library website with no luck.
CURVEFIT is not restricted to 1-D data, it simply minimizes an array of residuals as a
function of the fit parameters. It can be used to fit 2-D or n-D data as well. It uses
1-D systax for these residuals, but IDL can address any array as if it were 1-D.
____________________________________________________________
Mark Rivers (773) 702-2279 (office)
CARS (773) 702-9951 (secretary)
Univ. of Chicago (773) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars.uchicago.edu (e-mail)
or:
Argonne National Laboratory (630) 252-0422 (office)
Building 434A (630) 252-0405 (lab)
9700 South Cass Avenue (630) 252-1713 (beamline)
Argonne, IL 60439 (630) 252-0443 (FAX)
|
|
|
Current Time: Sat Oct 11 05:21:35 PDT 2025
Total time taken to generate the page: 1.43627 seconds