Predictions

Calculate and store the predictions at test points in parameter space

predictions.main(ntest: int = 1, a_bary: float = 1.0) → Tuple[numpy.ndarray, numpy.ndarray][source]

Calculate the non-linear matter power spectrum at test points in parameter space

Param

ntest (int) - the number of test points we want to use

Param

a_bary (float) - the Baryon Feedback parameter (default: 1.0)

Returns

pk_class (np.ndarray) - the 3D power spectrum calculated by CLASS

Returns

pk_gp (np.ndarray) - the 3D power spectrum calculated by the emulator