Added more stuff to .gitignore. New toold build ksz maps
This commit is contained in:
parent
247d8512e4
commit
6eebe9a9cb
3 changed files with 115 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue