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

Home » Public Forums » archive » CURVFIT with XY error
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: CURVFIT with XY error [message #90190 is a reply to message #88466] Mon, 09 February 2015 11:42 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
You might also look at the code MPFITEXY by Michael Willliams to apply MPFIT to linear models with errors in both coordinates.

http://user.astro.columbia.edu/~williams/mpfitexy/

But again this does apply to general nonlinear models. --Wayne

On Wednesday, April 30, 2014 at 12:01:28 AM UTC-4, Craig Markwardt wrote:
> On Sunday, April 27, 2014 5:31:55 PM UTC-4, Amin Farhang wrote:
>>
>> Is there any replacing routine for CURVFIT which was able to do a non-linear least squares fit to a user-supplied function by considering both X and Y error?
>
> Not in IDL for the general case. Numerical recipes does give an algorithm for errors in both variables if the model function is purely linear.
>
> Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL array subscripting issue
Next Topic: mpfitfun and complex data

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

Current Time: Wed Oct 08 13:53:41 PDT 2025

Total time taken to generate the page: 0.00420 seconds