Using the easy continous wavelet transform I get a scalogram. I need the frequency of a peak found in the scalogram and so the question is; how do I know how to convert from scale to frequency? I know they are inversly proporsional.
Using Morlet and known signals with the sampling rate set to 4096000 S/sec I found that you have the approximate relation:
frequency = 3000000/scale
If I double the sample rate the number is approx. 6000000. But where exactly does the (approx.) number come from? It seems the value is 0,73 of the sampling rate, and it's independent of the number of samples.
(I'm using wavelet instead of stfft to get better resolution).