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

Home » Public Forums » archive » Re: Error detected while calling MPFIT_FDJAC2
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: Error detected while calling MPFIT_FDJAC2 [message #88480 is a reply to message #88478] Thu, 01 May 2014 10:34 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Thursday, May 1, 2014 10:28:01 AM UTC-4, pete....@gmail.com wrote:
> On Wednesday, June 23, 2010 8:16:17 PM UTC-4, Craig Markwardt wrote:
>
>> On Jun 23, 4:39 am, Fermiona Fermiona <fermion...@gmail.com> wrote:
>
>>> It works now after I found the "transpose" of the subarrays:
>
>>>
>
>>> args = {X:transpose(x_n), Y:transpose(y_n), ERR:transpose(yerr)}
>
>>>
>
>>> It would have been really nice if we could get an error about the
>
>>> wrong type of structure MPFIT accepts.
>
>>>
>
>>> Thaaanks!!!
>
>>
>
>> Quoting the documentation...
>
>> ; In general there are no restrictions on the number of dimensions in
>
>> ; X, Y or ERR. However the deviates *must* be returned in a
>
>> ; one-dimensional array, and must have the same type (float or
>
>> ; double) as the input arrays.
>
>>
>
>> CM
>
>
>
> Ha ha bit me too.
>
>
>
> "However the deviates *must* be returned in a
>
> ; one-dimensional array"
>
>
>
> A error code for this (when the residuals are not 1-D) with something like STATUS "-19 Hey dumb-ass read the documentation" would be helpful

Good point. Could you run MPFIT with /NOCATCH set, to find out where it crashes specifically?

Thanks,
Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: linear interpolation to form a deformation field
Next Topic: IDLDoc + HTML

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

Current Time: Wed Oct 08 17:11:05 PDT 2025

Total time taken to generate the page: 0.00454 seconds