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

Home » Public Forums » archive » mpfit: meaning of status flag
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: mpfit: meaning of status flag [message #53846 is a reply to message #53769] Sat, 05 May 2007 22:13 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Maarten <maarten.sneep@knmi.nl> writes:

> On May 1, 1:27 pm, Christopher Thom <c...@oddjob.uchicago.edu> wrote:
>> Quoth Maarten:
>>
>>> A plot of the fit looks OK, and the residuals seem to be fine, so I
>>> suspect it is OK, but the documentation is a bit vague: "STATUS: an
>>> integer status code is returned. All values other than zero can
>>> represent success." So I might be successful, but I'm certainly a bit
>>> uncertain right now ;)
>>
>> The documentation in mpfit.pro is pretty explicit.
>
> Thanks, I'd been looking at the mpfitfun docs, which is somewhat less
> explicit. I should have thought to look at the primary source.
>
>> A return status of 1 means that everything is working ok, and that the
>> routine seems to have found the minimum. If your fit looks ok, and the
>> errors seem reasonable, then your work here is done.
>
> I already assumed that that was the case.


Wait, you are saying you got a return status value of 1 (success) and
an empty ERRMSG, and yet somehow a message was printed to the screen
that said "improper input parameters"?

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
Read Message
Previous Topic: Where do all those heap variables come from?
Next Topic: Add diagonal 1:1 line in a plot?

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

Current Time: Fri Oct 10 17:07:13 PDT 2025

Total time taken to generate the page: 0.56159 seconds