exa.core.model_selection_fitter.models.lorentzian_model.lorentzian

Contents

exa.core.model_selection_fitter.models.lorentzian_model.lorentzian#

lorentzian(x, height, center, width, offset, slope=0)#

Lorentzian function with offset and slope.

Parameters:
  • x (ndarray) – x-coordinate.

  • height (float) – Amplitude of Lorentzian peak.

  • center (float) – Location of the peak.

  • width (float) – Width of the peak.

  • offset (float) – Constant offset.

  • slope (float) – Linear slope.

Returns:

Lorentzian function.

Return type:

ndarray