spectrum-generator
    Preparing search index...

    Interface OptionsSG1D

    interface OptionsSG1D {
        from?: number;
        nbPoints?: number;
        peakWidthFct?: NumToNumFn;
        shape?: Shape1D;
        to?: number;
    }
    Index

    Properties

    from?: number

    First x value (inclusive).

    0
    
    nbPoints?: number

    Number of points in the final spectrum.

    10001
    
    peakWidthFct?: NumToNumFn

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

    "() => 5"
    
    shape?: Shape1D

    Define the shape of the peak.

    "{kind: 'gaussian'}"
    
    to?: number

    Last x value (inclusive).

    1000