Reduce the number of points while keeping visually the same noise. Practical to
display many spectra as SVG. If you want a similar looking spectrum you should still however
generate at least 4x the nbPoints that is being displayed.
SHOULD NOT BE USED FOR DATA PROCESSING !!!
You should rather use ml-xy-equally-spaced to make further processing
Parameters
data: DataXY<NumberArray>
Object that contains property x (an ordered increasing array) and y (an array)
Reduce the number of points while keeping visually the same noise. Practical to display many spectra as SVG. If you want a similar looking spectrum you should still however generate at least 4x the nbPoints that is being displayed.
SHOULD NOT BE USED FOR DATA PROCESSING !!! You should rather use ml-xy-equally-spaced to make further processing