Skip to content

Commit cfe179d

Browse files
committed
Formatting
1 parent 773e034 commit cfe179d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

sonify/sonify.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -356,13 +356,9 @@ def _spectrogram(
356356
else:
357357
ylab = r'Velocity (µm s$\mathdefault{^{-1}}$)'
358358
if REFERENCE_VELOCITY == 1:
359-
clab = (
360-
rf'Power (dB rel. {REFERENCE_VELOCITY:g} [m s$\mathdefault{{^{{-1}}}}$]$\mathdefault{{^2}}$ Hz$\mathdefault{{^{{-1}}}}$)'
361-
)
359+
clab = rf'Power (dB rel. {REFERENCE_VELOCITY:g} [m s$\mathdefault{{^{{-1}}}}$]$\mathdefault{{^2}}$ Hz$\mathdefault{{^{{-1}}}}$)'
362360
else:
363-
clab = (
364-
rf'Power (dB rel. [{REFERENCE_VELOCITY:g} m s$\mathdefault{{^{{-1}}}}$]$\mathdefault{{^2}}$ Hz$\mathdefault{{^{{-1}}}}$)'
365-
)
361+
clab = rf'Power (dB rel. [{REFERENCE_VELOCITY:g} m s$\mathdefault{{^{{-1}}}}$]$\mathdefault{{^2}}$ Hz$\mathdefault{{^{{-1}}}}$)'
366362
ref_val = REFERENCE_VELOCITY
367363

368364
fs = tr.stats.sampling_rate

0 commit comments

Comments
 (0)