ml-spectra-fitting
    Preparing search index...

    Interface OptimizeOptions

    interface OptimizeOptions {
        baseline?: number;
        optimization?: OptimizationOptions;
        parameters?: Record<string, InitialParameter>;
        shape?: Shape1D;
    }
    Index

    Properties

    baseline?: number

    baseline value to shift the intensity of data and peak

    optimization?: OptimizationOptions

    The kind and options of the algorithm use to optimize parameters.

    parameters?: Record<string, InitialParameter>

    options of each parameter to be optimized e.g. For a pseudovoigt shape it could have x, y, fwhm and mu properties, each of which could contain init, min, max and gradientDifference, those options will define the guess, the min and max value of the parameter (search space) and the step size to approximate the jacobian matrix respectively. Those options could be a number, array of numbers, callback, or array of callbacks. Each kind of shape has default parameters so it could be undefined

    shape?: Shape1D

    Kind of shape used for fitting.