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