firecrown.likelihood.cmb
CMB source class and factory. Currently only supports CMB lensing convergence.
Classes
Class for CMB convergence tracer arguments. |
|
Source class for CMB convergence lensing. |
|
Factory class for CMBConvergence objects. |
Module Contents
- class firecrown.likelihood.cmb.CMBConvergenceArgs[source]
Class for CMB convergence tracer arguments.
- scale: float = 1.0
- field: str = 'delta_matter'
- z_source: float = 1100.0
- class firecrown.likelihood.cmb.CMBConvergence(*, sacc_tracer, scale=1.0, z_source=1100.0)[source]
Bases:
firecrown.likelihood.source.Source
Source class for CMB convergence lensing.
- Parameters:
sacc_tracer (str)
scale (float)
z_source (float)
- sacc_tracer
- scale = 1.0
- z_source = 1100.0
- current_tracer_args: None | CMBConvergenceArgs = None
- tracer_args: CMBConvergenceArgs
- read_systematics(sacc_data)[source]
Read the systematics for this source from the SACC file.
For CMB sources, there are no systematics to read.
- Parameters:
sacc_data (sacc.Sacc)
- Return type:
None
- class firecrown.likelihood.cmb.CMBConvergenceFactory(/, **data)[source]
Bases:
pydantic.BaseModel
Factory class for CMBConvergence objects.
- Parameters:
data (Any)
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- type_source: firecrown.metadata_types.TypeSource
- z_source: float = 1100.0
- scale: float = 1.0
- create(inferred_galaxy_zdist)[source]
Create a CMBConvergence object with the given inferred galaxy z distribution.
- Parameters:
inferred_galaxy_zdist (firecrown.metadata_types.InferredGalaxyZDist) – the inferred galaxy redshift distribution
- Returns:
a fully initialized CMBConvergence object
- Return type: