Skip to content

Cosmology

cosmology

Configuration for the cosmology.

Classes

CosmologicalArguments

Bases: BaseModel

Arguments for the cosmological model.

Attributes
model_config class-attribute instance-attribute
model_config = ConfigDict(extra='allow', arbitrary_types_allowed=True, validate_default=True)

Allow additional parameters.

CosmologyConfiguration

Bases: BaseModel

Configuration for the cosmology.

Attributes
model class-attribute instance-attribute
model: str = Field(default='Planck18', description='Cosmological model.')

Cosmological model.

arguments class-attribute instance-attribute
arguments: CosmologicalArguments = Field(default_factory=CosmologicalArguments, description='Arguments for the model.')

Parameters for the model.