fitting.lor

fitting.lor(x, A, x0, dx)

Single Lorentzian without baseline / offset.

Parameters:
  • x (array) – x-values.
  • A (float) – Amplitude.
  • x0 (float) – Center.
  • dx (float) – FWHM.
Returns:

f(x) = \frac{A}{1 + 4 (x - x_0)^2 / \Delta x^2}.