diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-27 11:23:52 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-27 11:23:52 +0800 |
commit | cf4737858e68967b44e474c4a7e1f805829c18df (patch) | |
tree | 23f6ec74267f8c30566872d7f04d32d944345b30 | |
parent | 5cbbaab825382d1fc174d5f7502947a7846d0361 (diff) | |
download | fg21sim-cf4737858e68967b44e474c4a7e1f805829c18df.tar.bz2 |
fg21sim/__init__.py: Do not import from ".foregrounds"
Import from ".foregrounds" involves a lot of imports of other
components, which cause a lot of numba JIT compilations.
Therefore, the simple "import fg21sim" causes a long lag for running the
scripts, e.g., bin/healpix2hpx.
-rw-r--r-- | fg21sim/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fg21sim/__init__.py b/fg21sim/__init__.py index 8ff996e..1142e26 100644 --- a/fg21sim/__init__.py +++ b/fg21sim/__init__.py @@ -19,8 +19,6 @@ __description__ = ("Realistic Foregrounds Simulation for " import logging -from .foregrounds import Foregrounds - # Set default logging handle to avoid "No handler found" warnings. logging.getLogger(__name__).addHandler(logging.NullHandler()) |