Clean up of the prior sampling mechanism
Introduces a sample_from_constrain_prior_array method to facilitate drawn an ordered array of samples. Removes redudant code.
Showing
- bilby/core/prior/dict.py 20 additions, 0 deletionsbilby/core/prior/dict.py
- bilby/core/sampler/base_sampler.py 10 additions, 25 deletionsbilby/core/sampler/base_sampler.py
- test/prior_test.py 7 additions, 0 deletionstest/prior_test.py
- test/sampler_test.py 30 additions, 14 deletionstest/sampler_test.py
Loading
Please register or sign in to comment