Skip to content
Snippets Groups Projects
Commit b9429eec authored by Gregory Ashton's avatar Gregory Ashton
Browse files

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
1 merge request!37Simplify parameter logic
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment