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

Home » Public Forums » archive » Re: Surface fitting in IDL
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: Surface fitting in IDL [message #79469] Fri, 02 March 2012 18:58
Sasha Singh is currently offline  Sasha Singh
Messages: 13
Registered: November 2010
Junior Member
On Mar 2, 2:50 pm, Bill Nel <ri...@crd.ge.com> wrote:
> On Mar 2, 1:00 pm, Sasha Singh <sashasingh....@gmail.com> wrote:
>
>> Hi,
>
>> I am new to IDL. I need to fit a function f(x,y)= A*
>> (x^a)*(y^b)*(exp(B*(x^c)*(y^d))) in IDL. No idea how to do it, any
>> help would be great.
>
>> Thanks much,
>> Sasha
>
> Take a look at the second example in the documentation for CURVEFIT.
> That might be what you're looking for.
>
> --Wayne

Thanks. I will read the curvefit documentation and see if I can do it.
Re: Surface fitting in IDL [message #79475 is a reply to message #79469] Fri, 02 March 2012 11:50 Go to previous message
Bill Nel is currently offline  Bill Nel
Messages: 31
Registered: October 2010
Member
On Mar 2, 1:00 pm, Sasha Singh <sashasingh....@gmail.com> wrote:
> Hi,
>
> I am new to IDL. I need to fit a function f(x,y)= A*
> (x^a)*(y^b)*(exp(B*(x^c)*(y^d))) in IDL. No idea how to do it, any
> help would be great.
>
> Thanks much,
> Sasha

Take a look at the second example in the documentation for CURVEFIT.
That might be what you're looking for.

--Wayne
Re: Surface fitting in IDL [message #79479 is a reply to message #79475] Fri, 02 March 2012 10:28 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sasha Singh writes:

> I am new to IDL. I need to fit a function f(x,y)= A*
> (x^a)*(y^b)*(exp(B*(x^c)*(y^d))) in IDL. No idea how to do it, any
> help would be great.

I would say you do it pretty much like that! There
really is not much more to it. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Follow IDLCoyote on Twitter
Next Topic: Move data to structure fields without copying

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

Current Time: Wed Oct 08 11:37:43 PDT 2025

Total time taken to generate the page: 0.00453 seconds