mljs / spectra-processing

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

xSampling removes points from the end of the array #204

Open josoriom opened 9 months ago

josoriom commented 9 months ago

@lpatiny In a special case, downSampling method removes points from the end when the number of points doesn't evenly divide the array length. This significantly impacts the Hilbert transform's result when using the forceFFT option.

image