Interface GenerateSpectrumOptions

interface GenerateSpectrumOptions {
    baseline?: NumToNumFn;
    generator?: OptionsSG1D;
    noise?: NoiseOptions;
    peakOptions?: PeakOptions;
    threshold?: number;
}

Properties

baseline?: NumToNumFn

Function to generate or add a baseline

generator?: OptionsSG1D

Options for spectrum generator

noise?: NoiseOptions

Options to add noise to the spectrum

peakOptions?: PeakOptions

Options for addPeaks method

threshold?: number

minimum intensity value

Default

0