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

Implemented by

Properties

fwhm: number

Methods

  • Calculate the height depending of fwhm and area.

    Parameters

    • Optional area: 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

    • Optional fwhm: number

      Full Width at Half Maximum.

    Returns number

    width

  • Calculate the area of a specific shape.

    Parameters

    • Optional height: number

    Returns number

    returns the area of the specific shape and parameters.

  • Calculate intensity array of a gaussian shape.

    Parameters

    • Optional options: GetData1DOptions

    Returns DoubleArray

    Intensity values.

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

    Parameters

    • Optional area: 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