# Path: ciao_contrib/logger_wrapper.py
# def initialize_module_logger(name):
#     """Create a logger for the module with an id of name.
# 
#     Returns the logger. Unlike initialize_logger, no handler
#     is set up.
# 
#     """
# 
#     return get_module_logger(name)


import os
import sys
import time
import numpy as np
import cxcdm as dm
from collections import namedtuple
from ciao_contrib.logger_wrapper import initialize_module_logger
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License along
#  with this program; if not, write to the Free Software Foundation, Inc.,
#  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

"""A wrapper around the cxcdm module.

The aim of this module is to work around a few corner cases in the
low-level cxcdm module (e.g. improve error messages and simplify a
few common operations).

The pycrates module should be used instead of this module whereaver
possible.

The API is not guaranteed to remain stable, so use at your own risk.
"""






# Path: ciao_contrib/logger_wrapper.py
# def initialize_module_logger(name):
#     """Create a logger for the module with an id of name.
# 
#     Returns the logger. Unlike initialize_logger, no handler
#     is set up.
# 
#     """
# 
#     return get_module_logger(name)


# Path: ciao_contrib/cxcdm_wrapper.py
import os
import sys
import time
import numpy as np
import cxcdm as dm
from collections import namedtuple
from ciao_contrib.logger_wrapper import initialize_module_logger

#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License along
#  with this program; if not, write to the Free Software Foundation, Inc.,
#  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#

"""A wrapper around the cxcdm module.

The aim of this module is to work around a few corner cases in the
low-level cxcdm module (e.g. improve error messages and simplify a
few common operations).

The pycrates module should be used instead of this module whereaver
possible.

The API is not guaranteed to remain stable, so use at your own risk.
"""






logger = initialize_module_logger("cxcdm_wrapper")