gwinferno.distributions#

a module for basic distribution pdf calculations with jax

Functions

betadist

betadist pdf of Beta distribution evaluated at xx with optional max value of scale:

log_logistic_unit

log_logistic_unit soft truncate a distribution with the log logistic unit

logistic_function

Logistic function or logistic curve

logistic_unit

logistic_unit soft truncate a distribution with the logistic unit

powerlaw_logit_pdf

powerlaw_logit_pdf pdf of high mass soft truncation powerlaw:

powerlaw_pdf

powerlaw_pdf pdf of sharp truncated powerlaw:

smooth

truncnorm_pdf

$$ p(x) propto mathcal{N}(x | mu, sigma)Theta(x-x_mathrm{min})Theta(x_mathrm{max}-x) $$