Skip to content

Commit

Permalink
solve another bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikpostt committed Sep 25, 2024
1 parent 01713e7 commit b483b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paradigma/feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def extract_angle_extremes(
prominence=2)[0], axis=1
)
df[f'{angle_colname}_minima'] = df.apply(
lambda row: find_peaks([-row[angle_colname]],
lambda row: find_peaks(-row[angle_colname],
distance=sampling_frequency * 0.6 / row[dominant_frequency_colname],
prominence=2)[0], axis=1
)
Expand Down

0 comments on commit b483b63

Please sign in to comment.