bilby.core.utils.calculus

Functions

derivatives(vals, func[, releps, abseps, ...])

Calculate the partial derivatives of a function at a set of values.

logtrapzexp(lnf, dx)

Perform trapezium rule integration for the logarithm of a function on a grid.

round_up_to_power_of_two(x)

Round up to the next power of two

Classes

UnsortedInterp2d(x, y, z[, kind, copy, ...])