Fixes to spectrogram display and waveform pad
This merge requests has 3 changes:
- Mag and power Spectrogram now properly plot a spectrogram without dB label when
decibel=False
. I decided against adding this option as a class attribute as these changes would only really affect these two spectrgorams... But it could be worth considering if we think it makes sense. - To compute the stft, sometimes the time-series needs to be padded. There are two modes for this,
pad_mode='zero'
or'reclect'
. This mode is now properly propagated through the code when creating spectrograms - Better warning describing this pad process