calc_fwhm

TRXASprefitpack.mathfun.calc_fwhm(fwhm_G: float, fwhm_L: float) float[source]

Calculate uniform fwhm of both gaussian and cauchy component of pseudo voigt profile with fwhm_G, fwhm_L based on Journal of Applied Crystallography. 33 (6): 1311–1316.

Parameters
  • fwhm_G – full width at half maximum of gaussian part

  • fwhm_L – full width at half maximum of lorenzian part

Returns

uniform fwhm parameter of both gaussian and cauchy component of pseudo voigt profile