apply_H0_prior
- zdm.analyze_cube.apply_H0_prior(lls: ndarray, H0dim: int, H0values: ndarray, cmbH0: float, cmb_sigma: float, sn1aH0: float, sn1a_sigma: float)[source]
Applies a prior as a function of H0
This is flat between two systematic values
- Parameters:
lls (np.ndarray) – values of likelihoods
H0dim (int) – dimension of H0 in the data
H0values (float) – vector specifying values of H0
cmbH0 (float) – value of H0 from the CMB
cmb_sigma (float) – 1 sigma uncertainty on H0 from CMB
sn1aH0 (float) – value of H0 from SN1a (distance ladder) measurements
sn1a_sigma (float) – 1 sigma uncertainty on H0 from SN1A
Returns a vector of length lls modified by that prior.