Skip to content

Commit 0b231de

Browse files
committed
fix lint errors
1 parent 4989221 commit 0b231de

File tree

1 file changed

+1
-4
lines changed
  • sigpro/aggregations/frequency

1 file changed

+1
-4
lines changed

sigpro/aggregations/frequency/band.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55

66
def band_mean(amplitude_values, frequency_values, min_frequency, max_frequency):
7-
"""
8-
Compute the mean values for a specific band.
7+
"""Compute the mean values for a specific band.
98
109
Filter between a high and low band and compute the mean value for this specific band.
1110
@@ -23,7 +22,6 @@ def band_mean(amplitude_values, frequency_values, min_frequency, max_frequency):
2322
float:
2423
Mean value for the given band.
2524
"""
26-
2725
lower_frequency_than = frequency_values <= max_frequency
2826
higher_frequency_than = frequency_values >= min_frequency
2927
selected_idx = np.where(higher_frequency_than & lower_frequency_than)
@@ -53,7 +51,6 @@ def band_rms(amplitude_values, frequency_values, min_frequency, max_frequency):
5351
float:
5452
rms value for the given band.
5553
"""
56-
5754
lower_frequency_than = frequency_values <= max_frequency
5855
higher_frequency_than = frequency_values >= min_frequency
5956

0 commit comments

Comments
 (0)