We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 955db76 commit 2874db8Copy full SHA for 2874db8
src/MEArec/generators/recordinggenerator.py
@@ -1410,7 +1410,7 @@ def generate_recordings(
1410
1411
# compute pad samples as 3 times the low-cutoff period
1412
if cutoff.size == 1:
1413
- pad_samples_filt = 3 * int((1.0 / cutoff * fs).magnitude[0])
+ pad_samples_filt = 3 * int((1.0 / cutoff * fs).magnitude)
1414
elif cutoff.size == 2:
1415
pad_samples_filt = 3 * int((1.0 / cutoff[0] * fs).magnitude)
1416
0 commit comments