Lorentz

graphenemodeling.statistical_distributions.Lorentz(p, x)

Lorentzian Response

Not a true statistical distribution, but included here.

\[A \frac{(\gamma/2\pi)^2}{(x-x_0)^2 + (\gamma/2)^2}\]

where \(A\) is amplitude, \(x_0\) is the center of the response, and \(\gamma\) is damping rate.

Parameters:
  • p (list) – length 3 array p[0] = response location p[1] = HWHM p[2] = response strength
  • x (array-like) – Points at which to evaluate Lorentzian

Examples

>>> from graphenemodeling.statistical_distributions import Lorentz