Avoid overflows in filtering DC
This PR improves the DC offset when trying to filter 0 Hz in Spectrogram.filter
, an offset of 1e-100
causes numerical overflows, so just use f[1] / 100
.
This PR improves the DC offset when trying to filter 0 Hz in Spectrogram.filter
, an offset of 1e-100
causes numerical overflows, so just use f[1] / 100
.