You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 withnp.inf
to make it compatible with NumPy > 2.0.0There is a similar NumPy issue when applying the .downsample method. I get an error "
np.NaN
was removed in the NumPy 2.0 release. Usenp.nan
instead.", but could not figure out how to resolve this.The text was updated successfully, but these errors were encountered: