diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-29 23:10:40 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-29 23:10:40 +0800 |
commit | 9d7c7bb53244d2f79173b0f7fe1c6e91a656a240 (patch) | |
tree | 182f90a2007e1abdca0c721a9c424d7432ea9607 /fg21sim/utils | |
parent | d078c1ae3f7171e9e8252474ce5dbaef37a26281 (diff) | |
download | fg21sim-9d7c7bb53244d2f79173b0f7fe1c6e91a656a240.tar.bz2 |
utils/__init__.py: Only import "setup_logging" from "logging.py"
Since some modules (e.g., healpix.py) under "utils" involves Numba JIT
optimization, which significantly slows the start-up speed, even some
consumers (e.g., bin/fg21sim-webui) do not need them at all.
Fix various import statements of other modules.
NOTE: not test at the moment!
Diffstat (limited to 'fg21sim/utils')
-rw-r--r-- | fg21sim/utils/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fg21sim/utils/__init__.py b/fg21sim/utils/__init__.py index 1e4eac6..b3b8723 100644 --- a/fg21sim/utils/__init__.py +++ b/fg21sim/utils/__init__.py @@ -1,7 +1,4 @@ # Copyright (c) 2016 Weitian LI <liweitianux@live.com> # MIT license -from .fits import read_fits_healpix, write_fits_healpix -from .healpix import healpix2hpx, hpx2healpix -from .reproject import zea2healpix from .logging import setup_logging |