mljs / spectra-processing

Various methods to help spectra processing
https://mljs.github.io/spectra-processing/
MIT License
7 stars 12 forks source link

Hilbert-transform could use FFT for non power of 2 data #202

Closed lpatiny closed 10 months ago

lpatiny commented 10 months ago

In case the data is not a power of 2 Hilbert transform could use xSampling but this should be an option. I don't think that it will be 100% the same result if you go through power of 2 (to be checked).

If it is not 100% please add an option 'forceFFT' that is only useful if it is not a power of 2 and we use xSampling.