Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support full output in curve_fit #3415

Open
jl-wynen opened this issue Apr 4, 2024 · 0 comments
Open

Support full output in curve_fit #3415

jl-wynen opened this issue Apr 4, 2024 · 0 comments

Comments

@jl-wynen
Copy link
Member

jl-wynen commented Apr 4, 2024

scipy.optimize.curve_fit has an argument full_output which makes it return additional objects.

At the moment, our wrapper raises ValueError: too many values to unpack (expected 2) with this argument.

We should catch this case and forward the extra return values. I'm not entirely sure how to handle them because they contain numpy arrays. In particular a Jacobian matrix which cannot be represented as a scipp array in a clean way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant