smoothfit
smoothfit copied to clipboard
error when running lambda.py
Dear NSchloe,
I would like to use the smoothfit package to generate a function that will fit a dataset... so far so good, I should be at the right door.
I was looking for a way to create a function from your code and I found the lambda.py exemple that normally do this via the function named u (l.21).
When running the code, my spyder console is returning me the following:
vals = [u(xx) for xx in x]
TypeError: 'tuple' object is not callable
Is it only happening to me? How can I set up a general function from the package?
Thanks for your support.
With regards
Matthieu
Hi Matthieu,
To properly help you, I'd need some complete and minimal code that reproduces the error.
Cheers, Nico