Optional
First xy value (inclusive).
0
Number of points in the final spectrum.
1001
Function that returns the width of a peak depending the x value.
() => 5
Define the shape of the peak.
shape: { kind: 'gaussian', },
Last xy value (inclusive).
100
First xy value (inclusive).