sqrt_lorentzian

sqrt_lorentzian(x, amp=1.0, kappa=1.0, x0=0.0, baseline=0.0)[source]

Square-root Lorentzian function for spectroscopy.

\[y = \frac{{\rm amp} |\kappa|}{\sqrt{\kappa^2 + 4(x -x_0)^2}} + {\rm baseline}\]
Return type:

ndarray