We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b83428c commit 2ed952cCopy full SHA for 2ed952c
1 file changed
cs_util/cosmo.py
@@ -17,14 +17,6 @@
17
import pyccl as ccl
18
19
20
-# Set ell_max to large value, for spline interpolation (in integral over
21
-# C_ell to get real-space correlation functions). Avoid aliasing
22
-# (oscillations)
23
-ccl.spline_params.ELL_MAX_CORR = 10_000_000
24
-
25
-ccl.spline_params.N_ELL_CORR = 5_000
26
27
28
def get_cosmo_default():
29
"""Get Cosmo Default.
30
@@ -44,6 +36,12 @@ def get_cosmo_default():
44
36
n_s=0.96,
45
37
)
46
38
39
+ # Set ell_max to large value, for spline interpolation (in integral over
40
+ # C _ell to get real-space correlation functions). Avoid aliasing
41
+ # ( oscillations)
42
+ cos.cosmo.spline_params.ELL_MAX_CORR = 10_000_000
43
+ cos.cosmo.spline_params.N_ELL_CORR = 5_000
+
47
return cos
48
49
0 commit comments