Interface OptionsSG2D

Hierarchy

  • OptionsSG2D

Properties

from?: number | XYNumber

First x value (inclusive).

Default

0

nbPoints?: number | XYNumber

Number of points in the final spectrum.

Default

1001

peakWidthFct?: NumToNumFn

Function that returns the width of a peak depending the x value.

Default

() => 5

shape?: GaussianShape2D

Define the shape of the peak.

Default

shape: { kind: 'gaussian', },

to?: number | XYNumber

Last x value (inclusive).

Default

100