Allow logtrapzexp to work on a non-uniform grid
The current implementation of the logtrapzexp
function (performing trapezium rule integration in log-space) currently only works for a fixed grid step size. This MR allows it to work with an array of step sizes, which can be non-uniform.
The Grid
class is also edited to allow marginalisation on potentially non-uniform grids.
A test suite for the logtrapzexp
function is also added.
Merge request reports
Activity
added 1 commit
- c96cd97a - Run black to fix formatting issues that break the pipeline
added Utility functions label
mentioned in commit 1e54ec66
changed milestone to %1.1.4