pysrw.tools.gaussian2pNorm#
- pysrw.tools.gaussian2pNorm(x, a, sigma)[source]#
The normalized version of
gaussian2p()
.\[y = \frac{a}{\sqrt{2 \pi} \sigma} e^{-\frac{x^2}{2 \sigma^2}}\]- Parameters:
x – coordinate axis.
a – coefficient scaling the area of the distribution.
sigma – standard deviation.
- Returns:
array of y values
- Return type:
float