You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current imlpementations of center_frequency, time_resolution, and freq_resolution are discretized approximations of underlying continuous-time parameters. This is a flawed approach (I didn't know better at the time), and I may improve it eventually to base on discrete logic.
The problem here specifically is that the wavelet isn't "well-behaved" at this scale - meaning, its lowest frequency goes either to left of FFT bin 1, or its highest frequency to right of Nyquist. The most generous well-behaved range can be found as:
Granted it still shouldn't return a negative, so it's an unhandled edge case.
OverLordGoldDragon
changed the title
Bug: wavelets.center_frequency yields negative frequency with large mu and small scalecenter_frequency yields negative frequency for extreme scale
Aug 12, 2021
The following example returns
wc = -3.1354
but according to the specs it should be nonnegative, unless I'm misunderstanding something.The text was updated successfully, but these errors were encountered: