AnalysisContext#

class cosmicjellyfish.configs.context.AnalysisContext(settings, specs, observables, freeparams, fiducialparams, fiducialcosmo, photoparams, photobiasparams, IAparams, Spectrobiasparams, Spectrononlinearparams, IMbiasparams, PShotparams, latex_names, input_type, backend_parameters, external)[source]#

Bases: object

Resolved configuration and fiducial state for one analysis run.

The field names intentionally mirror the existing configuration/FisherMatrix surface. This keeps the object suitable as a compatibility bridge while separating run setup from Fisher-information computation.

classmethod from_legacy_config(legacy_config)[source]#

Snapshot resolved state published by configs.config.

config.init must have completed successfully before this method is called. Deep copies prevent a later legacy initialisation from changing the context’s dictionaries.

Return type:

AnalysisContext

property obs: tuple[str, ...]#

Legacy spelling for observables.

property fiducialcosmopars: Mapping[str, Any]#

Legacy spelling for fiducial cosmological parameters.

property photopars: Mapping[str, Any]#

Legacy spelling for photometric distribution parameters.

property photobiaspars: Mapping[str, Any]#

Legacy spelling for photometric bias parameters.

property IApars: Mapping[str, Any]#

Compatibility spelling for intrinsic-alignment parameters.

property Spectrobiaspars: Mapping[str, Any]#

Compatibility spelling for spectroscopic bias parameters.

property PShotpars: Mapping[str, Any]#

Compatibility spelling for spectroscopic shot-noise parameters.

property Spectrononlinpars: Mapping[str, Any]#

Compatibility spelling used by the Fisher and likelihood modules.

property allparams: dict[str, Any]#

Return the combined fiducial parameter mapping for this analysis.

property allparams_fidus: dict[str, Any]#

Compatibility alias for the Fisher configuration’s fiducial mapping.