We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f045ef2 commit 4225da9Copy full SHA for 4225da9
1 file changed
src/MEArec/generators/recordinggenerator.py
@@ -1412,7 +1412,7 @@ def generate_recordings(
1412
if cutoff.size == 1:
1413
pad_samples_filt = 3 * int((1.0 / cutoff * fs).magnitude[0])
1414
elif cutoff.size == 2:
1415
- pad_samples_filt = 3 * int((1.0 / cutoff[0] * fs).magnitude[0])
+ pad_samples_filt = 3 * int((1.0 / cutoff[0] * fs).magnitude)
1416
1417
# call the loop on chunks
1418
args = (
0 commit comments