ewoksxas.fit.silx_engine.area_from_height#

ewoksxas.fit.silx_engine.area_from_height(family, height, *, fwhm=None, fwhm_low=None, fwhm_high=None, eta=0.0)[source]#

Return the analytic integrated area of a peak from its height and width.

For asymmetric (split) peaks each half contributes half of a symmetric peak of the corresponding side width. Pseudo-Voigt areas blend the Gaussian and Lorentzian coefficients by the mixing fraction eta.

Args:

family: Profile family: "gaussian", "lorentzian" or "voigt". height: Peak maximum (silx Height). fwhm: Full width at half maximum (symmetric peaks). fwhm_low: Low-side FWHM (asymmetric peaks). fwhm_high: High-side FWHM (asymmetric peaks). eta: Pseudo-Voigt Lorentzian fraction (Voigt family only).

Parameters:
  • family (str)

  • height (float)

  • fwhm (float | None)

  • fwhm_low (float | None)

  • fwhm_high (float | None)

  • eta (float)

Return type:

float