TimeSeries.spectrogram error messages aren't obvious
The TimeSeries.spectrogram
method should sanity check the relation between the stride
, fftlength
, and overlap
parameters. At the moment if fftlength
is greater than stride
, an error gets thrown by scipy:
ValueError: noverlap must be less than nperseg.
The spectrogram
method should raise exceptions with more sensible error messages.