hess_voigt

TRXASprefitpack.mathfun.hess_voigt(e: float | ndarray, fwhm_G: float, fwhm_L: float) ndarray[source]

hess_voigt: Hessian of voigt profile with respect to (e, fwhm_G, fwhm_L)

Parameters:
  • e – energy

  • fwhm_G – full width at half maximum of gaussian part :math:(2sqrt{2log(2)}sigma)

  • fwhm_L – full width at half maximum of lorenzian part :math:(2gamma)

Returns:

Hessian derivative of voigt profile

Note

  • 1st column: d^2f/de^2

  • 2nd column: d^2f/ded(fwhm_G)

  • 3rd column: d^2f/ded(fwhm_L)

  • 4th column: d^2f/d(fwhm_G)^2

  • 5th column: d^2f/d(fwhm_G)d(fwhm_L)

  • 6th column: d^2f/d(fwhm_L)^2

if fwhm_G is (<1e-8) then, It assume fwhm_G = 0 => lorenzian profile if fwhm_L is (<1e-8) then, It assume fwhm_L = 0 => gaussian profile