11 lines
275 B
Python
11 lines
275 B
Python
import cosmotool as ct
|
|
import numpy as np
|
|
import healpy as hp
|
|
|
|
d = np.zeros((64,64,64), ct.DTYPE)
|
|
|
|
d[32,32,32] = 1
|
|
|
|
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)
|