Repository navigation
FIX: Correct output of mlab._spectral_helper when scale_by_freq=False - #4593
Conversation
|
This causes all of the spectral tests to fail. |
|
True, didn't check the tests before submitting. In this case, the tests are in error. Specifically, all of the failures are in I've chosen to modify the tests to use a flat window, instead of the function's default, which I believe is a Hanning window. If, instead, we want to test with the Hanning window, the test can be modified to calculate the difference in window correction factors. The tests now seem to pass on my machine, let's see what Travis thinks... |
|
Hmm, now the tests are failing by a factor of 100. I'll get back to this soon. |
|
There we go. I used the hanning window after all. |
FIX: Correct output of mlab._spectral_helper when scale_by_freq=False
Closes #4328