spectrum-generator
    Preparing search index...

    Interface OptionsSG2D

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

    Properties

    from?: number | XYNumber

    First xy value (inclusive).

    0

    nbPoints?: number | XYNumber

    Number of points in the final spectrum.

    1001

    peakWidthFct?: NumToNumFn

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

    () => 5

    shape?: GaussianShape2D

    Define the shape of the peak.

    shape: { kind: 'gaussian', },

    to?: number | XYNumber

    Last xy value (inclusive).

    100