py21cmmc.core#

Module providing Core Modules for cosmoHammer.

This is the basis of the plugin system for py21cmmc.

TODO: Add description of the API of cores (and how to define new ones).

Classes

Core21cmEMU([astro_params, redshift, k, ...])

A Core Module that loads 21cmEMU and uses it to obtain 21cmFAST summaries.

CoreBase([store])

Base module for all cores.

CoreCMB([verbose, z_extrap_min, ...])

A Core Module that computes Cl^TT,TE,EE and phiphi (the lensing potentials).

CoreCoevalModule(redshift[, user_params, ...])

A Core Module which evaluates coeval cubes at given redshift.

CoreForest([name, observation, ...])

A Core Module that produces model effective optical depth at a range of redshifts.

CoreLightConeModule(*[, name, max_redshift])

Core module for evaluating lightcone simulations.

CoreLuminosityFunction([sigma, name, ...])

A Core Module that produces model luminosity functions at a range of redshifts.

ModuleBase()

Base module for both Cores and Likelihoods.

Exceptions

AlreadySetupError

Exception to be raised if trying to setup a core twice.

NotAChain()

Exception when method is called outside a LikelihoodComputationChain.

NotSetupError()

Exception for when a Core has not yet been setup.