Skip to content

Commit 7a97a7a

Browse files
authored
Merge pull request #428 from Mentalab-hub/bugflix-imp-cutoff-freq
Use getter for cutoff frequency
2 parents 69ce5cc + da82063 commit 7a97a7a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/explorepy/asr_processor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
from explorepy.filters import bp_filter
2121

22+
2223
logger = logging.getLogger(__name__)
2324

2425

src/explorepy/stream_processor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,7 @@ def get_power_line_freq(self):
618618
(item for item in self.filters if item.filter_type == 'notch'),
619619
None
620620
)
621-
622-
return match.cutoff_freq if match else None
621+
return match.get_cutoff_freq() if match else None
623622

624623
def ensure_asr_processor_available(self):
625624
if self.is_imp_running():

0 commit comments

Comments
 (0)