Syntax error in g_fit.py

53 views
Skip to first unread message

Piotr Żemojtel

unread,
Jun 15, 2021, 11:47:47 AM6/15/21
to CoFFEE code forum

After trging to calculate sigma values from the tutorial example I encountered a syntax error with gaussian function:

File "g_fit.py", line 193
    def gaussian((x,y,z),c_x,c_y,c_z,sigma):
                 ^
SyntaxError: invalid syntax

I've tried it with python3.5, 3.6, 3.9 with no luck. With python2.x, on the other hand, does not understand numpy. What can I do to overcome this issue?
Reply all
Reply to author
Forward
0 new messages