py21cmmc.likelihood.LikelihoodBase.computeLikelihood#

LikelihoodBase.computeLikelihood(model)[source]#

Calculate the likelihood of the instance data given the model.

Parameters:

model (dict) – A dictionary containing all model-dependent quantities required to calculate the likelihood. Explicitly, matches the output of reduce_data().

Returns:

lnL (float) – The log-posterior of the given model.