Cosmological Model¶
EMRI event-rate cosmological model and H₀ evaluation orchestration.
This module defines the cosmological event-rate model used for simulation:
Model1CrossCheck samples EMRI events from a cosmological rate model,
while LamCDMScenario and DarkEnergyScenario define the
parameter spaces.
The Hubble-constant posterior evaluation has been extracted to
master_thesis_code.bayesian_inference.bayesian_statistics
(BayesianStatistics)
and is invoked via main.py:evaluate() / --evaluate.
- 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 0x7f90ca6916c0>, fiducial_value: float = 1.0)[source]¶
Bases:
Parameter- Parameters:
symbol (str)
unit (str)
lower_limit (float)
upper_limit (float)
value (float)
derivative_epsilon (float)
is_fixed (bool)
randomize_by_distribution (Callable[[float, float, Generator], float])
fiducial_value (float)
- fiducial_value: float = 1.0¶
- class master_thesis_code.cosmological_model.DarkEnergyScenario[source]¶
Bases:
object- Omega_DE: float = 0.7274¶
- Omega_m: float = 0.2726¶
- h: float = 0.73¶
- class master_thesis_code.cosmological_model.LamCDMScenario[source]¶
Bases:
objecthttps://arxiv.org/pdf/2102.01708.pdf
- Omega_m: CosmologicalParameter¶
- w_0: float = -1.0¶
- w_a: float = 0.0¶
- 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
- Parameters:
lower_limit (float)
upper_limit (float)
- Return type:
float
- class master_thesis_code.cosmological_model.Model1CrossCheck(rng=None, max_redshift_override=None)[source]¶
Bases:
objectcross check of Model M1 in PHYSICAL REVIEW D 95, 103012 (2017)
- Parameters:
rng (Generator | None)
max_redshift_override (float | None)
- static dN_dz_of_mass(mass, redshift)[source]¶
- Parameters:
mass (float)
redshift (float)
- Return type:
float
- emri_rate: int = 294¶
- parameter_space: ParameterSpace¶
- sample_emri_events(number_of_samples)[source]¶
- Parameters:
number_of_samples (int)
- Return type:
list[ParameterSample]
- snr_threshold: float = 20¶