pysrw.tools.gaussian4p#
- pysrw.tools.gaussian4p(x, a0, a1, mu, sigma)[source]#
A non-normalized Gaussian with a constant offset.
\[y = a0 + a1 \cdot e^{-\frac{(x-\mu)^2}{2 \sigma^2}}\]- Parameters:
x – coordinate axis.
a0 – constant offset.
a1 – amplitude.
mu – mean.
sigma – standard deviation.
- Returns:
array of values
- Return type:
float