undark-lab / swyft

A system for scientific simulation-based inference at scale.
Other
154 stars 13 forks source link

Add volume information to RectBoundSampler #113

Open cweniger opened 1 year ago

cweniger commented 1 year ago

In order to calculate Bayes factors, we need information about the prior truncation volume. It would be enough to add a volume() method to RectBoundSampler, and illustrate the usage in a notebook.