From 2d1bd712c8efed8222c95371adec85bc69100439 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 10 Oct 2016 15:50:17 +0800 Subject: 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 --- fg21sim/utils/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'fg21sim/utils/__init__.py') diff --git a/fg21sim/utils/__init__.py b/fg21sim/utils/__init__.py index 97243a7..1e4eac6 100644 --- a/fg21sim/utils/__init__.py +++ b/fg21sim/utils/__init__.py @@ -3,4 +3,5 @@ from .fits import read_fits_healpix, write_fits_healpix from .healpix import healpix2hpx, hpx2healpix +from .reproject import zea2healpix from .logging import setup_logging -- cgit v1.2.2