py21cmmc.likelihood.LikelihoodBaseFile.computeLikelihood#

LikelihoodBaseFile.computeLikelihood(model)#

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.