more work on spherical projection. testlet for this code

This commit is contained in:
Guilhem Lavaux 2014-06-05 14:07:57 +02:00
parent 7b7d5b050e
commit b5319a0b1c
3 changed files with 69 additions and 25 deletions

View file

@ -0,0 +1,10 @@
import cosmotool as ct
import numpy as np
import healpy as hp
d = np.zeros((64,64,64), ct.DTYPE)
d[33,33,33] = 1
proj0 = ct.spherical_projection(32, d, 0, 20, integrator_id=0)
proj1 = ct.spherical_projection(32, d, 0, 20, integrator_id=1)