Fixed critical bug in TimeSeries.coherence_spectrogram, and added tests for coherence methods
This PR fixes a ridiculous bug in TimeSeries.coherence_spectrogram
where the dt
was set wildly incorrectly. This PR also adds unit tests for this and TimeSeries.coherence
.