Skip to content
Snippets Groups Projects

Allow logtrapzexp to work on a non-uniform grid

Merged Matthew David Pitkin requested to merge matthew-pitkin/bilby:fix_logtrapzexp into master

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

Pipeline #247434 passed

Pipeline passed for c96cd97a on matthew-pitkin:fix_logtrapzexp

Approved by

Merged by Gregory AshtonGregory Ashton 3 years ago (Jul 9, 2021 7:10am UTC)

Merge details

  • Changes merged into master with 1e54ec66.
  • Deleted the source branch.

Pipeline #255334 passed

Pipeline passed for 1e54ec66 on master

Test coverage 0.00% from 0 jobs

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading