diff options
author | Aaron LI <aly@aaronly.me> | 2017-08-13 11:17:03 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-08-13 11:17:03 +0800 |
commit | 01ad6e91008d3e564861694289fc400311639b98 (patch) | |
tree | fb19aaf722ef72d5e1a691870f8b6c7414479c61 /bin | |
parent | f372ced0663836c4bde13794cafd25cb51111d3c (diff) | |
download | fg21sim-01ad6e91008d3e564861694289fc400311639b98.tar.bz2 |
utils: Merge fits.py into io.py
Functions "{read,write}_fits_healpix()" merged into io.py
Signed-off-by: Aaron LI <aly@aaronly.me>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-healpix-patch | 2 | ||||
-rwxr-xr-x | bin/hpx2healpix | 2 | ||||
-rwxr-xr-x | bin/zea2healpix | 2 |
3 files changed, 3 insertions, 3 deletions
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, |