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

Home » Public Forums » archive » Re: gaussfit
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: gaussfit [message #6494 is a reply to message #6474] Tue, 25 June 1996 00:00 Go to previous messageGo to previous message
Robert Moss is currently offline  Robert Moss
Messages: 74
Registered: February 1996
Member
Frank Molster wrote:
>
> Hi everyone,
>
> I have encountered a small problem, I hope somebody can help me.
> I am not an experienced user but to me it seems that the keyword NTERMS
> in gaussfit doesn't work. I've tried several possibilities but nothing
> works. If I'm correct the next command should work, shouldn't it?
>
> IDL> yfit = gaussfit(x,y,A,nterms=4)
> % Compiled module: GAUSSFIT.
> % Procedure/function called with too many parameters: GAUSSFIT.
> % Execution halted at: $MAIN$
>
> It works correctly without the 'nterms=4' option.
> Is this a (known) bug or do I something wrong?
> Can anybody help me?


A quick look at the file idl_4/lib/gaussfit.pro shows that the function
gaussfit does not take any keyword parameters. Looks like the
documentation was updated, but the revised routine didnt make it into
the distribution. I'm running IDL v4.0.1 by the way...

--
Robert M. Moss, Ph.D. - mossrm@texaco.com - FAX (713)954-6911
------------------------------------------------------------ -----
This does not necessarily reflect the opinions of Texaco Inc.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Awk for IDL/Wave
Next Topic: Processing Mail with IDL

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

Current Time: Fri Oct 10 11:43:19 PDT 2025

Total time taken to generate the page: 2.23969 seconds