Skip to content
Snippets Groups Projects
Commit 18d1aff3 authored by Chichi Lalescu's avatar Chichi Lalescu
Browse files

update prefactors

parent f0e28fa3
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -53,7 +53,7 @@ def phi_s( ...@@ -53,7 +53,7 @@ def phi_s(
return phi return phi
def hat_phi_s( def hat_phi_s(
k, ell, prefactor = 2*np.pi): k, ell, prefactor = 5.5):
kc = prefactor / ell kc = prefactor / ell
bindices = np.where(np.abs(k) > kc) bindices = np.where(np.abs(k) > kc)
phi = np.ones(k.shape, k.dtype) phi = np.ones(k.shape, k.dtype)
...@@ -70,7 +70,7 @@ def phi_g( ...@@ -70,7 +70,7 @@ def phi_g(
def hat_phi_g( def hat_phi_g(
k, ell, k, ell,
prefactor = 1): prefactor = 0.257):
sigma = prefactor * ell sigma = prefactor * ell
return np.exp(-0.5 * (k * sigma)**2) return np.exp(-0.5 * (k * sigma)**2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment