py21cmmc.core.CoreLightConeModule#
- class py21cmmc.core.CoreLightConeModule(*, name='', max_redshift=None, **kwargs)[source]#
Core module for evaluating lightcone simulations.
See
CoreCoevalModule
for info on all parameters, which are identical to this class, with the exception of redshift, which in this case must be a scalar.This module will add the following quantities to the context:
lightcone
: aLightCone
instance.
Methods
__init__
(*[, name, max_redshift])build_model_data
(ctx)Compute all data defined by this core and add it to the context.
Generate random mock data.
prepare_storage
(ctx, storage)Add variables to dict which cosmoHammer will automatically store with the chain.
setup
()Setup the chain.
simulate_mock
(ctx)Generate all mock data and add it to the context.
Attributes
Reference to the
LikelihoodComputationChain
containing this core.The first core that appears in the requirements.
Names of the parameters of the full chain.