py21cmmc.core.CoreBase#
- class py21cmmc.core.CoreBase(store=None)[source]#
Base module for all cores.
Methods
__init__
([store])build_model_data
(ctx)Construct model data and place it in the context.
Generate random mock data.
prepare_storage
(ctx, storage)Add variables to dict which cosmoHammer will automatically store with the chain.
setup
()Perform any post-init setup of the object.
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.