Skip to content

Commit

Permalink
Use minimum_phase from fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Feb 27, 2025
1 parent a21a1a1 commit 6fed24e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
_setup_cuda_fft_resample,
_smart_pad,
)
from .fixes import minimum_phase
from .parallel import parallel_func
from .utils import (
_check_option,
Expand Down Expand Up @@ -480,7 +481,6 @@ def _construct_fir_filter(
else:
assert fir_design == "firwin"
fir_design = partial(_firwin_design, sfreq=sfreq)
from scipy.signal import minimum_phase

# issue a warning if attenuation is less than this
min_att_db = 12 if phase == "minimum-half" else 20
Expand Down

0 comments on commit 6fed24e

Please sign in to comment.