comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Need 2-dimensional Y versus X curve fit routine
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Need 2-dimensional Y versus X curve fit routine [message #9504] Thu, 10 July 1997 00:00
rivers is currently offline  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)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Array of BYTARR's
Next Topic: Re: Color separation with IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 19:58:42 PDT 2025

Total time taken to generate the page: 0.72020 seconds