From 1033d4abd62c58b7652d221c052466d1a48dfaac Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 18 Oct 2016 15:09:52 +0800 Subject: 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. --- fg21sim/__init__.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'fg21sim/__init__.py') 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()) -- cgit v1.2.2