Interface OptionsSG2D

interface OptionsSG2D {
    from?: number | XYNumber;
    nbPoints?: number | XYNumber;
    peakWidthFct?: NumToNumFn;
    shape?: GaussianShape2D;
    to?: number | XYNumber;
}

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