Skip to content

Commit

Permalink
1415 is already scalar-> revert
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 authored Sep 22, 2023
1 parent f045ef2 commit 4225da9
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 @@ -1412,7 +1412,7 @@ def generate_recordings(
if cutoff.size == 1:
pad_samples_filt = 3 * int((1.0 / cutoff * fs).magnitude[0])
elif cutoff.size == 2:
pad_samples_filt = 3 * int((1.0 / cutoff[0] * fs).magnitude[0])
pad_samples_filt = 3 * int((1.0 / cutoff[0] * fs).magnitude)

# call the loop on chunks
args = (
Expand Down

0 comments on commit 4225da9

Please sign in to comment.