Cosmological Model¶
EMRI event-rate cosmological model and H₀ evaluation orchestration.
This module contains two conceptual layers:
Cosmological model —
Model1CrossChecksamples EMRI events from a cosmological rate model;LamCDMScenarioandDarkEnergyScenariodefine the parameter spaces.Pipeline B (production) —
BayesianStatisticsloads saved Cramér-Rao bounds and orchestrates the full Hubble-constant posterior evaluation using the real GLADE galaxy catalog, KDE-basedDetectionProbability, full Fisher-matrix covariance, and multiprocessing. Invoked viamain.py:evaluate()/--evaluateCLI flag. Extracted tomaster_thesis_code.bayesian_inference.bayesian_statisticsandmaster_thesis_code.bayesian_inference.detection_probability. Re-exported here for backward compatibility.
A simpler, self-contained cross-check pipeline exists as Pipeline A
(BayesianInference),
which uses a synthetic galaxy catalog, erf-based detection probability, and a
hardcoded 10 % σ(d_L). See bayesian_inference/bayesian_inference.py.
- class master_thesis_code.cosmological_model.CosmologicalParameter(symbol: str, unit: str, lower_limit: float, upper_limit: float, value: float = 0.0, derivative_epsilon: float = 1e-06, is_fixed: bool = False, randomize_by_distribution: collections.abc.Callable[[float, float, numpy.random._generator.Generator], float] = <function uniform at 0x7fb42a5c8fe0>, fiducial_value: float = 1.0)[source]¶
Bases:
Parameter- Parameters:
- class master_thesis_code.cosmological_model.LamCDMScenario[source]¶
Bases:
objecthttps://arxiv.org/pdf/2102.01708.pdf
- Omega_m: CosmologicalParameter¶
- master_thesis_code.cosmological_model.MBH_spin_distribution(lower_limit, upper_limit)[source]¶
https://iopscience.iop.org/article/10.1088/0004-637X/762/2/68/pdf
- class master_thesis_code.cosmological_model.Model1CrossCheck(rng=None)[source]¶
Bases:
objectcross check of Model M1 in PHYSICAL REVIEW D 95, 103012 (2017)
- Parameters:
rng (Generator | None)
- parameter_space: ParameterSpace¶