From 01ad6e91008d3e564861694289fc400311639b98 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 13 Aug 2017 11:17:03 +0800 Subject: utils: Merge fits.py into io.py Functions "{read,write}_fits_healpix()" merged into io.py Signed-off-by: Aaron LI --- bin/get-healpix-patch | 2 +- bin/hpx2healpix | 2 +- bin/zea2healpix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/get-healpix-patch b/bin/get-healpix-patch index b1245e8..879067d 100755 --- a/bin/get-healpix-patch +++ b/bin/get-healpix-patch @@ -21,7 +21,7 @@ from reproject import reproject_from_healpix from fg21sim.share import CONFIGS from fg21sim.sky import SkyPatch from fg21sim.utils import setup_logging -from fg21sim.utils.fits import read_fits_healpix +from fg21sim.utils.io import read_fits_healpix from fg21sim.utils.units import UnitConversions as AUC diff --git a/bin/hpx2healpix b/bin/hpx2healpix index b5de5e6..8fc8777 100755 --- a/bin/hpx2healpix +++ b/bin/hpx2healpix @@ -66,7 +66,7 @@ def main(): logger.info("Importing modules + Numba JIT, waiting ...") from fg21sim.utils.healpix import hpx2healpix - from fg21sim.utils.fits import write_fits_healpix + from fg21sim.utils.io import write_fits_healpix hp_data, hp_header = hpx2healpix(args.infile, append_history=history, append_comment=comments) diff --git a/bin/zea2healpix b/bin/zea2healpix index 4e3242b..9f6f154 100755 --- a/bin/zea2healpix +++ b/bin/zea2healpix @@ -82,7 +82,7 @@ def main(): logger.info("Importing modules + Numba JIT, waiting ...") from fg21sim.utils.reproject import zea2healpix - from fg21sim.utils.fits import write_fits_healpix + from fg21sim.utils.io import write_fits_healpix hp_data, hp_header, __ = zea2healpix(args.infile1, args.infile2, nside=args.nside, order=args.interp_order, -- cgit v1.2.2