Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraPido committed May 8, 2024
1 parent 4989221 commit 0b231de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sigpro/aggregations/frequency/band.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@


def band_mean(amplitude_values, frequency_values, min_frequency, max_frequency):
"""
Compute the mean values for a specific band.
"""Compute the mean values for a specific band.
Filter between a high and low band and compute the mean value for this specific band.
Expand All @@ -23,7 +22,6 @@ def band_mean(amplitude_values, frequency_values, min_frequency, max_frequency):
float:
Mean value for the given band.
"""

lower_frequency_than = frequency_values <= max_frequency
higher_frequency_than = frequency_values >= min_frequency
selected_idx = np.where(higher_frequency_than & lower_frequency_than)
Expand Down Expand Up @@ -53,7 +51,6 @@ def band_rms(amplitude_values, frequency_values, min_frequency, max_frequency):
float:
rms value for the given band.
"""

lower_frequency_than = frequency_values <= max_frequency
higher_frequency_than = frequency_values >= min_frequency

Expand Down

0 comments on commit 0b231de

Please sign in to comment.