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

Home » Public Forums » archive » Re: 2D-fit
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 2D-fit [message #38277] Tue, 02 March 2004 09:36 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Esa Riihonen <esa@riihonen.st.net> writes:

> Hi all!
>
> I seek advice on fitting a following function with 2-free variables mu and
> phi (Below '.' indicates multiplication and '^2' power of 2 ):
>
> F(mu,phi) = a0 + a1.mu + a2.mu^2 + (a3.mu + a4.mu^2).cos(phi-phi0),
>
> phi0 is a constant and ai are the fitting parameters.
>
> Measurement set consists of 240 values (10 values for mu and 24 for phi,
> this in effect a polar coordinate grid with 24 'sectors' and 10 'rings').

Greetings, in addition to Paul's reply, I would like to mention that
my FAQ contains discussion of fitting functions of more than one
variable. And, if you have an even spaced 2D grid, then you can
likely use MPFIT2DFUN.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Statistic codes: Significance level
Next Topic: Re: BYTSCL and NAN keyword

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

Current Time: Fri Oct 10 02:41:36 PDT 2025

Total time taken to generate the page: 0.48141 seconds