Closed Bulbille closed 2 years ago
Thanks for the report.
bw
is applicable.@DavidBondesson, I think fridges
should return the original scales
rather than log of - agreed? And am I right about 2?
Addressed in latest release.
Thanks for the report.
1. Fair, will change 2. I think the purpose is to linearize the scaling, as we want distance between adjacent rows to be uniform so that a fixed `bw` is applicable. 3. Fair, I've been considering this - may change in a future release.
@DavidBondesson, I think
fridges
should return the originalscales
rather than log of - agreed? And am I right about 2?
@OverLordGoldDragon, To your question: I agree, Thank you for taking care of it!
The doc for extract_ridges
Though in the code, fridge are the scales. (line 137). Please clarify the doc (or change the doc), since fridge has the same dimension as scales. It feels like one of them should change.
Also it feels weird that the following code does not give the expected scales
In the first line, scales is logarithmic. Using transform='cwt', the outputed scales from extract_ridges are the log of ssq_cwt scales, which are already in log. There's some confusion there.
Third thing : It feels like scales and ssq_freqs arrays are reversed, and to retrieve the right frequencies, I should use the following snipet
With the use of the [::-1] to reverse ssq_freqs array., which originates from lines 229 and 230 of ssqueezing.py. Tell me if that is the intended functionnality.