diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-18 15:09:52 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-18 15:09:52 +0800 |
commit | 1033d4abd62c58b7652d221c052466d1a48dfaac (patch) | |
tree | 59c4bc4ecbdb351769540eef529a463155d89988 /fg21sim/__init__.py | |
parent | 44af51600415d60c527500e138c9f7ef016e2010 (diff) | |
download | fg21sim-1033d4abd62c58b7652d221c052466d1a48dfaac.tar.bz2 |
Add "foregrounds.py" as the interface to foregrounds simulation
This module provides a simple/easy-to-use interface to the simulation of
various supported foreground components.
Diffstat (limited to 'fg21sim/__init__.py')
-rw-r--r-- | fg21sim/__init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fg21sim/__init__.py b/fg21sim/__init__.py index b829e5b..8ff996e 100644 --- a/fg21sim/__init__.py +++ b/fg21sim/__init__.py @@ -17,8 +17,10 @@ __description__ = ("Realistic Foregrounds Simulation for " "EoR 21cm Signal Detection") -# Set default logging handle to avoid "No handler found" warnings. import logging -from logging import NullHandler -logging.getLogger(__name__).addHandler(NullHandler()) +from .foregrounds import Foregrounds + + +# Set default logging handle to avoid "No handler found" warnings. +logging.getLogger(__name__).addHandler(logging.NullHandler()) |