ml-peak-shape-generator
    Preparing search index...

    Interface Shape1DClass

    interface Shape1DClass {
        fwhm: number;
        calculateHeight(area?: number): number;
        fct(x: number): number;
        fwhmToWidth(fwhm?: number): number;
        getArea(height?: number): number;
        getData(options?: GetData1DOptions): DoubleArray;
        getFactor(area?: number): number;
        getParameters(): Parameter[];
        widthToFWHM(width: number): number;
    }

    Implemented by

    Index

    Properties

    fwhm: number

    Methods

    • Calculate the height depending of fwhm and area.

      Parameters

      • Optionalarea: number

      Returns number

    • Return a parameterized function of a gaussian shape (see README for equation).

      Parameters

      • x: number

      Returns number

      • the y value of gaussian with the current parameters.
    • Compute the value of width between the inflection points from Full Width at Half Maximum (FWHM). for more information check the mathworld page

      Parameters

      • Optionalfwhm: number

        Full Width at Half Maximum.

      Returns number

      width

    • Calculate the area of a specific shape.

      Parameters

      • Optionalheight: number

      Returns number

      returns the area of the specific shape and parameters.

    • Calculate intensity array of a gaussian shape.

      Parameters

      • Optionaloptions: GetData1DOptions

      Returns DoubleArray

      Intensity values.

    • Calculate the number of times FWHM allows to reach a specific area coverage.

      Parameters

      • Optionalarea: number

        Expected area to be covered.

      Returns number

    • Returns an array of the different parameters characterizing the shape

      Returns Parameter[]

    • Compute the value of Full Width at Half Maximum (FWHM) from the width between the inflection points. for more information check the mathworld page

      Parameters

      • width: number

      Returns number

      fwhm