Skip to content

Commit

Permalink
Changed signal.spectrogram mode to "magnitude"
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Sep 12, 2023
1 parent bc4cc92 commit 6443913
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/soundevent/audio/spectrograms.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def compute_spectrogram(
nperseg=nperseg,
noverlap=noverlap,
axis=0,
mode="magnitude"
)

# Convert to xarray
Expand Down

0 comments on commit 6443913

Please sign in to comment.