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.

gaussian

gaussian(x, amp=1.0, sigma=1.0, x0=0.0, baseline=0.0)[source]

Gaussian function

\[y = {\rm amp} \cdot \exp \left( - (x - x0)^2 / 2 \sigma^2 \right) + {\rm baseline}\]
Return type:

ndarray