This PR is preparation for combining the PARIS formatting code with inversions.
There are a few changes in this PR:
quantities like mu and pt.dot(hbc, xbc) are now deterministics, so their traces will be calculated automatically
coordinates have been added to the pymc Model in inferpymc, so that the trace produces by pm.sample has coordinates, and the sizes of random variables are specified by their dimensions.
"save trace" functionality was moved entirely to fixedbasisMCMC and removed from inferpymc
inferpymc now returns the trace output by pm.sample, as well as the pymc model. This will be useful for adding the PARIS formatting code to inversions.
changed some variable names in the pymc model to align with the PARIS formatting code.
Please check if the PR fulfills these requirements
This PR is preparation for combining the PARIS formatting code with inversions.
There are a few changes in this PR:
mu
andpt.dot(hbc, xbc)
are now deterministics, so their traces will be calculated automaticallyModel
ininferpymc
, so that the trace produces bypm.sample
has coordinates, and the sizes of random variables are specified by their dimensions.fixedbasisMCMC
and removed frominferpymc
inferpymc
now returns the trace output bypm.sample
, as well as the pymc model. This will be useful for adding the PARIS formatting code to inversions.Please check if the PR fulfills these requirements
[x] Added an entry to the
CHANGELOG.md
file