-
- Downloads
There was a problem fetching the pipeline summary.
Simplifies the logic of how parameters are known-about from the sampler
The samplers and prior access the parameters via `likelihood.waveform_generator.parameters`. But, this is the only way that the waveform_generator was accessed outside of the likelihood. We simplify this by insisting that the Likelihood has the attribute parameters (which is set, in this case, from the waveform_generator). - Add attribute parameters to likelihood - Remove all look-ups of waveform_generator outside of the likelihood. This means the waveform_generator is a likelihood-specific thing!
parent
be79b082
No related branches found
No related tags found
Pipeline #
Showing
- examples/other_examples/alternative_likelihoods.py 1 addition, 0 deletionsexamples/other_examples/alternative_likelihoods.py
- tupak/likelihood.py 1 addition, 0 deletionstupak/likelihood.py
- tupak/prior.py 6 additions, 6 deletionstupak/prior.py
- tupak/sampler.py 4 additions, 4 deletionstupak/sampler.py
Loading
Please register or sign in to comment