more work on spherical projection. testlet for this code
This commit is contained in:
parent
7b7d5b050e
commit
b5319a0b1c
3 changed files with 69 additions and 25 deletions
10
python_sample/test_spheric_proj.py
Normal file
10
python_sample/test_spheric_proj.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue