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

    Class Lorentzian

    Implements

    Index

    Constructors

    Properties

    fwhm: number

    Full width at half maximum.

    500
    

    Methods

    • 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

      • fwhm: number = ...

        Full Width at Half Maximum.

      Returns number

      width

    • Calculate the area of a specific shape.

      Parameters

      • height: number = 1

      Returns number

      returns the area of the specific shape and parameters.

    • Calculate intensity array of a gaussian shape.

      Parameters

      • options: GetData1DOptions = {}

      Returns Float64Array

      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