py21cmmc.likelihood.LikelihoodGreig#

class py21cmmc.likelihood.LikelihoodGreig(*args, **kwargs)[source]#

Likelihood using QSOs.

See LikelihoodNeutralFraction and LikelihoodBaseFile for parameter descriptions.

Methods

__init__(*args, **kwargs)

Neutral fraction likelihood/prior.

computeLikelihood(model)

Compute the likelihood.

get_fiducial_model()

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

lnprob(model, data, sigma)

Compute the log prob given a model, data and error.

reduce_data(ctx)

Return a dictionary of model quantities from the context.

setup()

Perform post-init setup.

Attributes

chain

Reference to the LikelihoodComputationChain containing this core.

cmb_modules

All CMB core modules that are loaded.

coeval_modules

All coeval core modules that are loaded.

core_primary

The first core that appears in the requirements.

emu_modules

All emulator core modules that are loaded.

lightcone_modules

All lightcone core modules that are loaded.

parameter_names

Names of the parameters of the full chain.

qso_redshift

required_cores

threshold