Skip to content

Commit 3bb39c1

Browse files
committed
give CAMB AL parameter
1 parent 6a82616 commit 3bb39c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cls.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ end
117117
ℓmax = 6000,
118118
r = 0.2, ωb = 0.0224567, ωc = 0.118489, τ = 0.055, Σmν = 0.06,
119119
θs = 0.0104098, H0 = nothing, logA = 3.043, nₛ = 0.968602, nₜ = -r/8,
120-
= 1,
120+
AL = 1,
121121
k_pivot = 0.002)
122122

123123
params = Base.@locals
@@ -141,6 +141,7 @@ end
141141
pivot_tensor = k_pivot,
142142
lmax = ℓmax′,
143143
r = r,
144+
Alens = AL,
144145
)
145146
cp.max_l_tensor = ℓmax′
146147
cp.max_eta_k_tensor = 2ℓmax′
@@ -157,7 +158,7 @@ end
157158
α = (10^6*cp.TCMB)^2
158159
toCℓ′ = @. 1/(ℓ′*(ℓ′+1)/(2π))
159160

160-
Cℓϕϕ = extrapolate_Cℓs(ℓ,ℓ′,*2π*res.get_lens_potential_cls(ℓmax′)[3:ℓmax′,1]./ℓ′.^4)
161+
Cℓϕϕ = extrapolate_Cℓs(ℓ,ℓ′,2π*res.get_lens_potential_cls(ℓmax′)[3:ℓmax′,1]./ℓ′.^4)
161162

162163
return (;
163164
map(["unlensed_scalar","lensed_scalar","tensor","unlensed_total","total"]) do k

0 commit comments

Comments
 (0)