py21cmmc.cosmoHammer.LikelihoodComputationChain.simulate_mock#

LikelihoodComputationChain.simulate_mock(p=None)[source]#

For a given set of parameters, generate mock data for the entire core chain.

Parameters:

p (list or Params object, optional) – The parameters at which to evaluate the model data. Default is to use default parameters of the cores.

Returns:

ctx (dict-like) – A filled context object containing all model quantities generated by core modules in the chain.

Notes

The data generated by this method are not deterministic in general, i.e. they contain the randomness that is being constrained by the MCMC process. It is mock data in the sense that it should be a representation of the forward-model of the MCMC.