Optional fromOptional nbNumber of points in the final spectrum.
1001
Optional peakFunction that returns the width of a peak depending the x value.
() => 5
Optional shapeDefine the shape of the peak.
shape: { kind: 'gaussian', },
Optional toLast x value (inclusive).
100
First x value (inclusive).
Default
0