diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-10 15:50:17 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-10 15:50:17 +0800 |
commit | 2d1bd712c8efed8222c95371adec85bc69100439 (patch) | |
tree | 21c3ddf5354a35b4e71ff4b41c3e716bc54cbe64 /fg21sim/galactic/__init__.py | |
parent | c1c5b3d5e899f8e385c90aae4ff881ecad3c7422 (diff) | |
download | fg21sim-2d1bd712c8efed8222c95371adec85bc69100439.tar.bz2 |
utils/reproject.py: Implement zea2healpix()
The "zea2healpix()" function reprojects the maps in ZEA
(zenithal/azithumal equal area) projection to HEALPix data in Galactic
frame with RING ordering.
The other two helper functions "_image_to_healpix()" and "_convert_wcs()"
are almost copied from the "reproject" project [1]. Thanks!
TODO:
* Add some more logging
* Implement the "inpaint" argument to inpaint the HEALPix map if exists
missing pixels
[1] reproject: https://github.com/astrofrog/reproject
Diffstat (limited to 'fg21sim/galactic/__init__.py')
0 files changed, 0 insertions, 0 deletions