Added more stuff to .gitignore. New toold build ksz maps

This commit is contained in:
Guilhem Lavaux 2014-06-24 10:37:42 +02:00
parent 247d8512e4
commit 6eebe9a9cb
3 changed files with 115 additions and 2 deletions

View file

@ -32,8 +32,7 @@ def build_sky_proj(density, dmax=60.,dmin=0,iid=0):
N = density.shape[0]
ix = (np.arange(N)-0.5)*L/N - 0.5 * L
dist2 = (ix[:,None,None]**2 + ix[None,:,None]**2 + ix[None,None,:]**2)
# dist2 = (ix[:,None,None]**2 + ix[None,:,None]**2 + ix[None,None,:]**2)
flux = density.transpose().astype(ct.DTYPE) # / dist2
dmax=N*dmax/L