# Path: ugali/utils/logger.py
# class SpecialFormatter(logging.Formatter):
#     FORMATS = {'DEFAULT'       : "%(message)s",
#                logging.WARNING : "WARNING: %(message)s",
#                logging.ERROR   : "ERROR: %(message)s"}
#     def format(self, record):
# def file_found(filename,force):


import numpy
import pylab
import ugali.analysis.farm
import ugali.observation.catalog
import ugali.observation.roi
import ugali.observation.mask
import ugali.simulation.simulator
import ugali.utils.bayesian_efficiency
from ugali.utils.logger import logger
"""
Documentation.
"""




pylab.ion()

############################################################

def validateSatellite(config, isochrone, kernel, stellar_mass, distance_modulus, trials=1, debug=False, seed=0):
    """
    Tool for simple MC validation studies -- specifically to create multiple realizations of
    a satellite given an CompositeIsochrone object, Kernel object, stellar mass (M_sol) for normalization,
    and distance_modulus.
    """

# Path: ugali/utils/logger.py
# class SpecialFormatter(logging.Formatter):
#     FORMATS = {'DEFAULT'       : "%(message)s",
#                logging.WARNING : "WARNING: %(message)s",
#                logging.ERROR   : "ERROR: %(message)s"}
#     def format(self, record):
# def file_found(filename,force):


# Path: ugali/simulation/validation.py
import numpy
import pylab
import ugali.analysis.farm
import ugali.observation.catalog
import ugali.observation.roi
import ugali.observation.mask
import ugali.simulation.simulator
import ugali.utils.bayesian_efficiency
from ugali.utils.logger import logger

"""
Documentation.
"""




pylab.ion()

############################################################

def validateSatellite(config, isochrone, kernel, stellar_mass, distance_modulus, trials=1, debug=False, seed=0):
    """
    Tool for simple MC validation studies -- specifically to create multiple realizations of
    a satellite given an CompositeIsochrone object, Kernel object, stellar mass (M_sol) for normalization,
    and distance_modulus.
    """

    logger.info('=== Validate Satellite ===')