Added a lean CIC filter

This commit is contained in:
Guilhem Lavaux 2014-06-12 17:16:59 +02:00
parent c80e2833e0
commit cef0fb3786
5 changed files with 53 additions and 3 deletions

View file

@ -748,7 +748,7 @@ cdef npx.uint64_t _mysum(int[:] jobs) nogil:
def spherical_projection(int Nside,
npx.ndarray[DTYPE_t, ndim=3] density not None,
DTYPE_t min_distance,
DTYPE_t max_distance, int progress=1, int integrator_id=0, DTYPE_t[:] shifter = None, int booster=10):
DTYPE_t max_distance, int progress=1, int integrator_id=0, DTYPE_t[:] shifter = None, int booster=1000):
import healpy as hp
import progressbar as pb