Updating priors
Make core.prior
completely independent of all gw.prior
, continuing from https://git.ligo.org/Monash/tupak/merge_requests/56.
-
Remove the GW specific default latex labels from core
, this method can be overwritten ingw
. -
Move the binary_black_holes.prior
fromcore
togw
? -
Have an empty PriorSet.test_redundancy
which just does nothing which can be overwritten by whichever prior set you like, this will naturally be done by defining a subclass ofPriorSet
ingw/prior.py
. -
Make create_default_prior
require the second argument. -
Move everything currently in core/prior_files
togw/prior_files
(or something similar). We'd also need to fix thesetup.py
file to see this, but its all gw-specific.
Edited by Colm Talbot
Merge request reports
Activity
added 10 commits
- 226b6b64 - fix uniform in comoving volume prior file finding
- eadf5fad - use PriorSet rescaling function
- 3900958e - add probablility functions to PriorSet
- de1ff726 - add prob and ln_prob methods to Prior
- cd035a83 - update some utilities
- 474576c4 - clean up docstring
- 1b89c9a6 - fix sampling from prior
- 2f6cd610 - fix priorset probability functions
- 4676f70f - make sure Sampler.priors is a PriorSet
- f3ab1477 - reformatting
Toggle commit listadded 7 commits
Toggle commit listadded 1 commit
- b057cb1d - use datetime for time manipulation, add evaluation time to sampler
This now does everything on the list and a couple of other small changes. @gregory.ashton do you want to look over it before merging?
mentioned in commit e8cf8c0c
Please register or sign in to reply