Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
ccl_test_power.py File Reference

Go to the source code of this file.

Namespaces

 ccl_test_power
 

Functions

def ccl_test_power.all_finite (vals)
 
def ccl_test_power.calc_power_spectrum (Omega_v, w0, wa, transfer_fn, matter_power, linear, raise_errors)
 
def ccl_test_power.loop_over_params (transfer_fn, matter_power, lin, raise_errs)
 
def ccl_test_power.test_power_spectrum_linear ()
 
def ccl_test_power.test_power_spectrum_linear_slow ()
 
def ccl_test_power.test_power_spectrum_halofit ()
 
def ccl_test_power.test_power_spectrum_halofit_slow ()
 
def ccl_test_power.test_power_spectrum_emu ()
 
def ccl_test_power.test_nonlin_power_spectrum_linear ()
 
def ccl_test_power.test_nonlin_power_spectrum_linear_slow ()
 
def ccl_test_power.test_nonlin_power_spectrum_halofit ()
 
def ccl_test_power.test_nonlin_power_spectrum_halofit_slow ()
 
def ccl_test_power.test_nonlin_power_spectrum_emu ()
 
def ccl_test_power.test_raise_error_EH_bbks_lin ()
 
def ccl_test_power.test_raise_error_EH_bbks_halofit ()
 
def ccl_test_power.test_raise_error_EH_bbks_nonlin_linear ()
 
def ccl_test_power.test_raise_error_emu ()
 
def ccl_test_power.test_raise_error_emu_nonlin ()
 

Variables

float ccl_test_power.Omega_c = 0.25
 
float ccl_test_power.Omega_b = 0.045
 
float ccl_test_power.Neff = 3.046
 
float ccl_test_power.mnu_sum = 0.06
 
list ccl_test_power.mnu_list = [0.02, 0.02, 0.02]
 
float ccl_test_power.h = 0.7
 
float ccl_test_power.sigma8 = 0.83
 
float ccl_test_power.n_s = 0.96
 
 ccl_test_power.Omega_v_vals = np.array([0.7, 0.7, 0.7, 0.65, 0.75])
 
 ccl_test_power.w0_vals = np.array([-1.0, -0.9, -0.9, -0.9, -0.9])
 
 ccl_test_power.wa_vals = np.array([0.0, 0.0, 0.1, 0.1, 0.1])
 
list ccl_test_power.transfer_fns = ['boltzmann_class', 'eisenstein_hu', 'emulator',]
 
 ccl_test_power.argv