Skip to content

error when running lambda.py #32

@Magaud59

Description

@Magaud59

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions