edge_lorenzian

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

Lorenzian type edge function :math:(0.5+frac{1}{pi}{arctan}left(frac{x}{gamma}right))

Parameters:
  • e – energy

  • fwhm_L – full width at half maximum

Returns:

lorenzian type edge shape function