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

Deprecated code in pupildata.py #22

Open
joebathelt opened this issue Sep 24, 2024 · 0 comments
Open

Deprecated code in pupildata.py #22

joebathelt opened this issue Sep 24, 2024 · 0 comments

Comments

@joebathelt
Copy link

First of all, thank you for creating such a feature-rich and accessible package for pupillometry. I'm new to this method and reading the documentation has been immensely helpful.

I experienced some issues when going through the example code in the documentation. This seems to be related to a version conflict between some of the required packages and the code in pypillometry.

In pupildata.py, np.infty needs to be replaced with np.inf to make it compatible with NumPy > 2.0.0

There is a similar NumPy issue when applying the .downsample method. I get an error "np.NaN was removed in the NumPy 2.0 release. Use np.nan instead.", but could not figure out how to resolve this.

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