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

Home » Public Forums » archive » Re: chi^2 minimisations & calling c
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: chi^2 minimisations & calling c [message #36679 is a reply to message #36677] Thu, 16 October 2003 10:15 Go to previous messageGo to previous message
danb is currently offline  danb
Messages: 4
Registered: October 2003
Junior Member
> You must have spilled it wrong! :-)
>

Indied. Had to scroll down the page, doh.

I am now having real trouble trying to get mpfit to work with spawn in
the function_name though. When I ddread the model data points back I
get told:

% CLOSE: Variable is undefined: LUN.
% Error occurred at: DDREAD 302

which I find a little confusing.

The general routine goes like:

> function bla
>
> spawn program with a b c d e f
>
> x =ddread(modeldatapoints)
> y =ddread(truedatapoints)
>
> end
>
> pro blabla
>
> p =[a,b,c,d,e,f]
>
> fit = mpfit(x, y, p, FUNCTION_NAME=bla)
>
> end

I suspect there is a really obvious reason why this kind of thing will
never work. : (
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems with 3D-Plot
Next Topic: How to get actual widget size?

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

Current Time: Wed Oct 08 13:38:45 PDT 2025

Total time taken to generate the page: 0.00399 seconds