bilby.gw.utils.ln_i0

bilby.gw.utils.ln_i0(value)[source]

A numerically stable method to evaluate ln(I_0) a modified Bessel function of order 0 used in the phase-marginalized likelihood.

Parameters:
value: array-like

Value(s) at which to evaluate the function

Returns:
array-like:

The natural logarithm of the bessel function