Fixes
This commit is contained in:
parent
d31d1245c2
commit
815c0b616a
2 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ def whitify(density, L, cosmo, supergenerate=1, func='HU_WIGGLES'):
|
|||
Pk = build_Pk()
|
||||
Pk[0,0,0]=1
|
||||
|
||||
cube = CubeFT(N, L)
|
||||
cube = CubeFT(L, N)
|
||||
cube.density = density
|
||||
density_hat = cube.rfft()
|
||||
density_hat /= np.sqrt(Pk)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue