py21cmmc.likelihood.LikelihoodBase#

class py21cmmc.likelihood.LikelihoodBase[source]#

Base class for Likelihoods in 21CMMC.

Methods

__init__()

computeLikelihood(model)

Calculate the likelihood of the instance data given the model.

get_fiducial_model()

Compute and return a model dictionary at the fiducial set of parameters.

reduce_data(ctx)

Perform reduction on raw data (from all cores in the chain).

setup()

Perform post-init setup.

Attributes

chain

Reference to the LikelihoodComputationChain containing this core.

core_primary

The first core that appears in the requirements.

parameter_names

Names of the parameters of the full chain.

required_cores