Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

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