gwinferno.distributions.log_logistic_unit#
- log_logistic_unit(x, x0, sgn=1, sc=4)[source]#
log_logistic_unit soft truncate a distribution with the log logistic unit
- Args:
x (array_like): input array to truncate x0 (float): value of array we want to apply a soft truncation to
- Returns:
array_like: input array with the soft truncation at x0 applied