aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-25 18:13:08 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-25 18:13:08 +0800
commitf0682d6f5c196001f8820d0f2dbdf18087285ac7 (patch)
tree055699fff2a8977bfae65a9a6977555850f22683 /fg21sim/configs
parenta78f2e507048c77191b82facbd1ce77fa6bd38cd (diff)
downloadfg21sim-f0682d6f5c196001f8820d0f2dbdf18087285ac7.tar.bz2
healpix.py: Implement "ang2pix_ring" and "pix2ang_ring" with JIT
To optimize "map_grid_to_healpix()" in `grid.py` which uses "healpy.ang2pix()" using `numba.jit`, implement the latter's functionality explicitly with `numba.jit` support. The implementation simply mimic the corresponding functions "ang2pix_ring_z_phi()" and "pix2ang_ring_z_phi()" in HEALPix's "src/C/subs/chealpix.c". Thanks!
Diffstat (limited to 'fg21sim/configs')
0 files changed, 0 insertions, 0 deletions