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

Better handling of nans in data #1760

Open
psavery opened this issue Nov 27, 2024 · 0 comments
Open

Better handling of nans in data #1760

psavery opened this issue Nov 27, 2024 · 0 comments

Comments

@psavery
Copy link
Collaborator

psavery commented Nov 27, 2024

Currently, we expect any nan values in the data to be masked out via the panel_buffer. If they aren't masked out, we encounter errors in some parts of the code. For example, when running calibration, we encounter this error:

ValueError: The model function generated NaN values and the fit aborted! Please check your model function and/or set boundaries on parameters where applicable. In cases like this, using "nan_policy='omit'" will probably not work.

We should make sure that different parts of the code work fine when there are nans in the data.

This issue was created due to #1753

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