gwinferno.distributions.logistic_function#

logistic_function(x, L, k, x0)[source]#

Logistic function or logistic curve

Args:

x (array_like): input array to evaluate logistic function at L (float): curve’s maximum value k (float): logistic growth rate (positive values for left truncation, negative for right truncation) x0 (float): x-value of the sigmoid’s midpoint

Returns:

array_like: logistic function evaluated at x