Support for multiple transforms and spin-transforms

This commit is contained in:
Dag Sverre Seljebotn 2015-05-19 20:53:52 +02:00
parent 48e213151a
commit 16888967c1
2 changed files with 31 additions and 17 deletions

View file

@ -25,8 +25,9 @@ def test_basic():
alm[0] = 1
map = libsharp.synthesis(grid, order, alm, comm=MPI.COMM_WORLD)
map = libsharp.synthesis(grid, order, np.repeat(alm[None, None, :], 3, 0), comm=MPI.COMM_WORLD)
assert np.all(map[2, :] == map[1, :]) and np.all(map[1, :] == map[0, :])
map = map[0, 0, :]
if rank == 0:
healpy.mollzoom(map)
from matplotlib.pyplot import show