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

Home » Public Forums » archive » Re: Missing data and MPFITFUN
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: Missing data and MPFITFUN [message #50919 is a reply to message #50905] Mon, 23 October 2006 07:54 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt writes:

> You might ask, why not ignore points with NaNs? The answer is, there
> are two many people who were blithely allowing their data or model to
> go infinite and then complaining to me when MPFIT didn't work. I
> prefer to force the user to explicitly set the weight to zero for
> points they want to ignore, rather than silently ignoring them. Then
> if non-finite values show up, MPFIT knows it's a problem.
>
> Perhaps I should add a /NAN keyword though.

I've tried educating the masses. I've, uh, mostly given up. :-)

If you are going to add a NAN keyword though (which I
think is a good idea), I would also consider setting
the weights at that location to 0 yourself. (This is
probably what you had in mind.) I'm pretty sure users
won't remember to do it.

Thanks for the help!

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Title in iPlot
Next Topic: Re: Postscript and MikTeX 2.5

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

Current Time: Wed Oct 08 18:17:56 PDT 2025

Total time taken to generate the page: 0.00198 seconds