[Fityk-users] syntax error issue?

52 views
Skip to first unread message

H.J. Jost

unread,
Dec 20, 2006, 9:51:52 PM12/20/06
to fityk...@lists.sourceforge.net
Hi

I am trying to build my own function to fit to an infrared absorption spectrum. However, I keep getting syntax errors. Then I noticed that the "internal" GLSum function also comes up with a syntax error in definition manager under MS Windows.

I've been trying to combine a polynomial with a voigt to fit a transmission spectrum.

Thanks
HJ



Marcin Wojdyr

unread,
Dec 22, 2006, 2:02:54 AM12/22/06
to fityk...@lists.sourceforge.net

Hi HJ,

On Wed, 20 Dec 2006, H.J. Jost wrote:

> I am trying to build my own function to fit to an infrared absorption
> spectrum. However, I keep getting syntax errors. Then I noticed that the
> "internal" GLSum function also comes up with a syntax error in definition
> manager under MS Windows.

I can't see it. Could you give more details? Are you using version 0.7.6?
Where is this GLSum function?
What errors do you see and where?

Marcin

--
Marcin Wojdyr | http://www.unipress.waw.pl/~wojdyr/

H.J. Jost

unread,
Jan 4, 2007, 11:32:24 PM1/4/07
to fityk...@lists.sourceforge.net
Hi,

Thanks for your message. I am using 0.7.6 (the latest) in windows.

I can't reproduce this GLsum function. I thought I got it through some example, but now I am not posititve anymore.

I only got "syntax error" in the definition manager.

What I was really trying was to use the built-in voigt, but to use it to fit I=I0*exp(-voigt). But it looks like I can't use voigt to define a "new" function.

Thanks
HJ
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
_______________________________________________
Fityk-users mailing list

Hans-Jürg "H.J." Jost, Ph.D.
NovaWave Technologies
900 Island Drive
Redwood City, CA 94065



Marcin Wojdyr

unread,
Jan 8, 2007, 1:12:53 AM1/8/07
to fityk...@lists.sourceforge.net
On Thu, 4 Jan 2007, H.J. Jost wrote:

> I can't reproduce this GLsum function. I thought I got it through some
> example, but now I am not posititve anymore.
>
> I only got "syntax error" in the definition manager.

Yes, know I see it. I already prepared version 0.7.7, so I'll fix it
in the next release.

> What I was really trying was to use the built-in voigt, but to use it to fit
> I=I0*exp(-voigt). But it looks like I can't use voigt to define a "new"
> function.

Right. Only
sqrt, exp, log10, ln, sin, cos, tan, atan, asin, acos, erf, erfc, lgamma
functions can be used. I'll add voigt(x,y) also there.

Reply all
Reply to author
Forward
0 new messages