spectrum-generator
    Preparing search index...

    Interface SparseSpectrumOptions

    interface SparseSpectrumOptions {
        baseline?: NumToNumFn;
        peakOptions?: PeakOptions;
        threshold?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    baseline?: NumToNumFn

    Function to add a baseline to the spectrum.

    peakOptions?: PeakOptions

    Options for peak shapes and widths.

    threshold?: number

    Threshold relative to the normalized shape value (1 at peak centre) used to determine how far each peak's x interval extends. Points where shape.fct(x − x₀) < threshold are excluded.

    1e-7