aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-09-25 15:56:28 +0800
committerAaron LI <aaronly.me@outlook.com>2016-09-25 15:56:28 +0800
commit55309d828657ff7abe4f839743020059fd89bfbb (patch)
tree85816cf4387a926edf34e34bb7a0d46d4ac7324f /fg21sim
parent2225a263cb9ce66b58c5269a43f4482369b63298 (diff)
downloadfg21sim-55309d828657ff7abe4f839743020059fd89bfbb.tar.bz2
Add logging and update setup configs
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/__init__.py23
1 files changed, 22 insertions, 1 deletions
diff --git a/fg21sim/__init__.py b/fg21sim/__init__.py
index f4633fa..38cb565 100644
--- a/fg21sim/__init__.py
+++ b/fg21sim/__init__.py
@@ -1 +1,22 @@
-from .core import hmm \ No newline at end of file
+"""
+Realistic Foregrounds Simulation for EoR 21cm Signal Detection
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+:copyright: (c) 2016 Weitian LI
+:license: MIT
+"""
+
+__title__ = "fg21sim"
+__version__ = "0.0.1"
+__author__ = "Weitian LI"
+__license__ = "MIT"
+__copyright__ = "Copyright (c) 2016 Weitian LI"
+
+
+from .core import hmm
+
+# Set default logging handle to avoid "No handler found" warnings.
+import logging
+from logging import NullHandler
+
+logging.getLogger(__name__).addHandler(NullHandler())