aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-08-13 11:17:03 +0800
committerAaron LI <aly@aaronly.me>2017-08-13 11:17:03 +0800
commit01ad6e91008d3e564861694289fc400311639b98 (patch)
treefb19aaf722ef72d5e1a691870f8b6c7414479c61 /bin
parentf372ced0663836c4bde13794cafd25cb51111d3c (diff)
downloadfg21sim-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-xbin/get-healpix-patch2
-rwxr-xr-xbin/hpx2healpix2
-rwxr-xr-xbin/zea2healpix2
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,