Interpolation of gaze positions as part of the saccade detection routine in /code/functions/detect_saccades.py
fails with newer versions of scipy (I tested 1.3, 1.4), throwing the following error
.../lib/python3.5/site-packages/scipy/interpolate/_cubic.py", line 59, in prepare_input
raise ValueError("`y` must contain only finite values.")
This is because the PChipInterpolator that is used in the gaze interpolation
interpolate_gaze(etsamples, fs=None)
does not accept NaN as input anymore.
Downgrading scipy to e.g. 1.2 fixed the issue.
Interpolation of gaze positions as part of the saccade detection routine in /code/functions/detect_saccades.py fails with newer versions of scipy (I tested 1.3, 1.4), throwing the following error
This is because the PChipInterpolator that is used in the gaze interpolation
does not accept NaN as input anymore. Downgrading scipy to e.g. 1.2 fixed the issue.