Optional
from0
Optional
nbNumber of points in the final spectrum.
10001
Optional
peakFunction that returns the width of a peak depending the x value.
"() => 5"
Optional
shapeDefine the shape of the peak.
"{kind: 'gaussian'}"
Optional
toLast x value (inclusive).
1000
First x value (inclusive).