diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-25 18:13:08 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-25 18:13:08 +0800 |
commit | f0682d6f5c196001f8820d0f2dbdf18087285ac7 (patch) | |
tree | 055699fff2a8977bfae65a9a6977555850f22683 /fg21sim/data/snr.py | |
parent | a78f2e507048c77191b82facbd1ce77fa6bd38cd (diff) | |
download | fg21sim-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/data/snr.py')
0 files changed, 0 insertions, 0 deletions