Commits on Source (8)
-
From python3.6+, all dicts are ordered by design. On the otherhand, the collections OrderedDict has odd behaviour when pickled (see comment below). This changes to just using dicts. For users of python3.5 and earlier, this will only change the order of their output posterior. On the other hand, it will make pickling priors much more straight forward going forward.
-
Moritz Huebner authored
Remove OrderedDict from PriorDicts See merge request !652
-
generalized the JointPrior object structure from Matthew Pitkin's MutlivariateGaussian prior formalism. TODO: add in the joint MapPrior for HEALPix priors
-
Moritz Huebner authored
Resolve #423 (Assert that all prior methods can take arrays of values as arguments) Closes #423 See merge request !650
-
-
Moritz Huebner authored
Add function to convert to a LI prior See merge request !642
-
-
Moritz Huebner authored
Resolve "Add checking to the ROQ usage" Closes #320 See merge request !549
Showing
- .gitignore 2 additions, 1 deletion.gitignore
- bilby/core/prior.py 18 additions, 12 deletionsbilby/core/prior.py
- bilby/gw/likelihood.py 85 additions, 4 deletionsbilby/gw/likelihood.py
- bilby/gw/prior.py 124 additions, 3 deletionsbilby/gw/prior.py
- examples/gw_examples/injection_examples/roq_example.py 6 additions, 5 deletionsexamples/gw_examples/injection_examples/roq_example.py
- test/gw_likelihood_test.py 162 additions, 4 deletionstest/gw_likelihood_test.py
- test/gw_prior_test.py 78 additions, 0 deletionstest/gw_prior_test.py
- test/prior_test.py 12 additions, 2 deletionstest/prior_test.py