Inference¶
BayesEoR accelerates joint posterior inference and Bayesian-evidence evaluation by analytically marginalising over the individual sky coefficients, and sampling only the power spectrum of the 21-cm field. These few power-spectrum amplitudes define the prior on the coefficients in each \(k\) bin, so the sampler explores tens of parameters rather than tens of thousands.
Overview¶
- Δ² parameterisation: how the EoR coefficients are grouped into \(k\) bins, whose power-spectrum amplitudes set their prior and are the parameters sampled.
- Analytical marginalisation: integrating out the coefficients to give a likelihood for the power spectrum alone.
- Maximum a posteriori: recovering the coefficients and model visibilities for a fixed prior, and the foreground-only evidence.
- Running inference: choosing the model and exploring the posterior and evidence with nested sampling.
- Posterior analysis: reading, summarising and plotting the results.

