ml-spectra-fitting
    Preparing search index...

    Interface OptimizeOptions

    interface OptimizeOptions {
        linkedParameters?: LinkedParameter[];
        optimization?: OptimizationOptions;
        parameters?: Record<string, InitialParameter>;
        shape?: Shape1D;
    }
    Index

    Properties

    linkedParameters?: LinkedParameter[]

    Links parameters from multiple peaks into a shared optimization variable. The actual peak value is reconstructed as sharedVariable * factor + offset.

    optimization?: OptimizationOptions

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

    parameters?: Record<string, InitialParameter>

    Options of each parameter to be optimized. For example, for a pseudoVoigt shape this can include x, y, fwhm and mu values.

    Each parameter can define init, min, max and gradientDifference to set the initial guess, bounds and finite-difference step. These options can be numbers or callbacks. Callback options receive the original peak values provided by the user. Each shape has defaults, so this can be undefined.

    shape?: Shape1D

    Kind of shape used for fitting.