|
CCL
|
Functions | |
| def | read_chi_test_file () |
| def | read_dm_test_file () |
| def | compare_distances (z, chi_bench, dm_bench, Omega_v, w0, wa) |
| def | test_distance_model_0 () |
| def | test_distance_model_1 () |
| def | test_distance_model_2 () |
| def | test_distance_model_3 () |
| def | test_distance_model_4 () |
Variables | |
| int | DISTANCES_TOLERANCE = 1e-4 |
| float | Omega_c = 0.25 |
| float | Omega_b = 0.05 |
| int | N_nu_rel = 0. |
| float | h = 0.7 |
| float | A_s = 2.1e-9 |
| float | n_s = 0.96 |
| Omega_v_vals = np.array([0.7, 0.7, 0.7, 0.65, 0.75]) | |
| w0_vals = np.array([-1.0, -0.9, -0.9, -0.9, -0.9]) | |
| wa_vals = np.array([0.0, 0.0, 0.1, 0.1, 0.1]) | |
| def ccl_test_distances.compare_distances | ( | z, | |
| chi_bench, | |||
| dm_bench, | |||
| Omega_v, | |||
| w0, | |||
| wa | |||
| ) |
Compare distances calculated by pyccl with the distances in the benchmark file. This test is only valid when radiation is explicitly set to 0.
| def ccl_test_distances.read_chi_test_file | ( | ) |
Read the file containing all the radial comoving distance benchmarks (distances are in Mpc/h)
| def ccl_test_distances.read_dm_test_file | ( | ) |
Read the file containing all the distance modulus benchmarks
| def ccl_test_distances.test_distance_model_0 | ( | ) |
| def ccl_test_distances.test_distance_model_1 | ( | ) |
| def ccl_test_distances.test_distance_model_2 | ( | ) |
| def ccl_test_distances.test_distance_model_3 | ( | ) |
| def ccl_test_distances.test_distance_model_4 | ( | ) |
| float ccl_test_distances.A_s = 2.1e-9 |
| int ccl_test_distances.DISTANCES_TOLERANCE = 1e-4 |
| float ccl_test_distances.h = 0.7 |
| int ccl_test_distances.N_nu_rel = 0. |
| float ccl_test_distances.n_s = 0.96 |
| float ccl_test_distances.Omega_b = 0.05 |
| float ccl_test_distances.Omega_c = 0.25 |
| ccl_test_distances.Omega_v_vals = np.array([0.7, 0.7, 0.7, 0.65, 0.75]) |
| ccl_test_distances.w0_vals = np.array([-1.0, -0.9, -0.9, -0.9, -0.9]) |
| ccl_test_distances.wa_vals = np.array([0.0, 0.0, 0.1, 0.1, 0.1]) |
1.8.13