pybird.fake module
- class pybird.fake.Fake(n_sky, zmin, zmax, zeff, Veff, degsq, P0, fiducial_cosmo, likelihood_config=None, likelihood_config_template_file='.h5', fiducial_nuisance=None, boltzmann='class', Omega_m_fid=0.31, kmin=0.005, kmax=0.4, dk=0.01, k_arr=None, cov=None, nbar=None, nbar_prior=None, fake_data_filename='fake_', path_to_data='./', fake_likelihood_config_filename='fake_', path_to_config='./')[source]
Bases:
object
A class to generate fake data for testing PyBird calculations.
The Fake class creates synthetic power spectrum data with realistic covariance matrices for testing and validation purposes. It handles survey-specific parameters, cosmological models, and EFT nuisance parameters to generate realistic test cases.
- kd
Array of k values for power spectrum.
- Type:
ndarray