Various mathematical utility functions.
creamas.math.
gaus_pdf
Gaussian distribution’s probability density function.
See, e.g. Wikipedia.
x (float or numpy.ndarray) – point in x-axis
mean (float) – mean or expectation
str (float) – standard deviation
pdf(s) in point x
float or numpy.ndarray
logistic
Logistic function.
See, e.g Wikipedia.
x0 (float) – sigmoid’s midpoint
k (float) – steepness of the curve
L (float) – maximum value of the curve
function’s value(s) in point x