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

Home » Public Forums » archive » mpfitexpr using functargs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
mpfitexpr using functargs [message #49352] Wed, 19 July 2006 14:41
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
(Craig M.,)

I'm having trouble figuring out how to use the functargs keyword to
mpfitexpr.

In particular, how do I "retrieve" the values from within "myfunct"?
Your documentation mentions "PRIVATE"?

This is what I _think_ it should be:

function myfunct, x, p, other=other
;; calculate y using x, p, and other
return, y
end

pro mainpro, data

....
other = read_somefixed_data(afile)
f = {other:other}
pout = mpfitexpr('myfunct',x,data,err,p,parinfo=parinfo,functargs=f )

return
end
[Message index]
 
Read Message
Previous Topic: String Spliting
Next Topic: Surface plots in spherical coordinates

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

Current Time: Fri Oct 10 15:33:17 PDT 2025

Total time taken to generate the page: 0.00412 seconds