From 4ce3c0b5ce2bd4b2d2bb89eaae669a4e3eba6662 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 9 Oct 2016 22:31:36 +0800 Subject: utils: Add function "read_fits_healpix()" This function wraps on the `healpy.read_map()`, but reset the data array to its original dtype in FITS file, as well as return the FITS header in `astropy.io.fits.Header` object. --- fg21sim/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fg21sim/utils/__init__.py') diff --git a/fg21sim/utils/__init__.py b/fg21sim/utils/__init__.py index b6cf3fd..97243a7 100644 --- a/fg21sim/utils/__init__.py +++ b/fg21sim/utils/__init__.py @@ -1,6 +1,6 @@ # Copyright (c) 2016 Weitian LI # MIT license -from .fits import write_fits_healpix +from .fits import read_fits_healpix, write_fits_healpix from .healpix import healpix2hpx, hpx2healpix from .logging import setup_logging -- cgit v1.2.2