2014-06-05 14:07:57 +02:00
|
|
|
import cosmotool as ct
|
|
|
|
import numpy as np
|
|
|
|
import healpy as hp
|
|
|
|
|
|
|
|
d = np.zeros((64,64,64), ct.DTYPE)
|
|
|
|
|
2014-06-05 16:24:08 +02:00
|
|
|
d[32,32,32] = 1
|
2014-06-05 14:07:57 +02:00
|
|
|
|
2014-06-05 16:24:08 +02:00
|
|
|
proj0 = ct.spherical_projection(64, d, 0, 20, integrator_id=0, shifter=np.array([0.5,0.5,0.5]))
|
|
|
|
proj1 = ct.spherical_projection(64, d, 0, 20, integrator_id=1)
|