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
If you run EDA-Peak-Detection-Script.py and enter some settings for Minimum peak amplitude, Offset, Max rise time and Max decay time, the script produces an error:
File "EDA-Peak-Detection-Script.py", line 72, in findPeaks
peak_start[i - start_WT * sampleRate] = 1
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
I suspect that the input from the terminal is not converted into numerical data (start_WT is a string??).
If you just press return on the default settings everything is fine. Seems like an easy fix.
Cheers
Casper
The text was updated successfully, but these errors were encountered:
Hi,
If you run EDA-Peak-Detection-Script.py and enter some settings for Minimum peak amplitude, Offset, Max rise time and Max decay time, the script produces an error:
File "EDA-Peak-Detection-Script.py", line 72, in findPeaks
peak_start[i - start_WT * sampleRate] = 1
IndexError: only integers, slices (
:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indicesI suspect that the input from the terminal is not converted into numerical data (start_WT is a string??).
If you just press return on the default settings everything is fine. Seems like an easy fix.
Cheers
Casper
The text was updated successfully, but these errors were encountered: