Skip to content

Commit

Permalink
revert since cli has been updated
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Buccino <[email protected]>
  • Loading branch information
zm711 and alejoe91 authored Sep 22, 2023
1 parent 955db76 commit 2874db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MEArec/generators/recordinggenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ def generate_recordings(

# compute pad samples as 3 times the low-cutoff period
if cutoff.size == 1:
pad_samples_filt = 3 * int((1.0 / cutoff * fs).magnitude[0])
pad_samples_filt = 3 * int((1.0 / cutoff * fs).magnitude)
elif cutoff.size == 2:
pad_samples_filt = 3 * int((1.0 / cutoff[0] * fs).magnitude)

Expand Down

0 comments on commit 2874db8

Please sign in to comment.