# Path: brew/constants.py
# GAL_PER_LITER = 1.0 / LITER_PER_GAL
# 
# Path: brew/constants.py
# IMPERIAL_UNITS = u"imperial"
# 
# Path: brew/constants.py
# POUND_PER_KG = 1.0 / KG_PER_POUND
# 
# Path: brew/constants.py
# SI_UNITS = u"metric"
# 
# Path: brew/exceptions.py
# class ColorException(BrewdayException):
#     pass
# 
# Path: brew/validators.py
# def validate_units(units):
#     """
#     Validate units
# 
#     :param str units: Unit type
#     :return: units
#     :rtype: str
#     :raises ValidatorException: If units is unknown
#     """
#     if units in [IMPERIAL_UNITS, SI_UNITS]:
#         return units
#     raise ValidatorException(
#         u"Unkown units '{}', must use {} or {}".format(units, IMPERIAL_UNITS, SI_UNITS)
#     )


from ..constants import GAL_PER_LITER
from ..constants import IMPERIAL_UNITS
from ..constants import POUND_PER_KG
from ..constants import SI_UNITS
from ..exceptions import ColorException
from ..validators import validate_units
# -*- coding: utf-8 -*-

__all__ = [
    u"srm_to_ebc",
    u"ebc_to_srm",
    u"calculate_mcu",
    u"calculate_srm_mosher",
    u"calculate_srm_daniels",
    u"calculate_srm_daniels_power",
    u"calculate_srm_noonan_power",
    u"calculate_srm_morey_hybrid",

# Path: brew/constants.py
# GAL_PER_LITER = 1.0 / LITER_PER_GAL
# 
# Path: brew/constants.py
# IMPERIAL_UNITS = u"imperial"
# 
# Path: brew/constants.py
# POUND_PER_KG = 1.0 / KG_PER_POUND
# 
# Path: brew/constants.py
# SI_UNITS = u"metric"
# 
# Path: brew/exceptions.py
# class ColorException(BrewdayException):
#     pass
# 
# Path: brew/validators.py
# def validate_units(units):
#     """
#     Validate units
# 
#     :param str units: Unit type
#     :return: units
#     :rtype: str
#     :raises ValidatorException: If units is unknown
#     """
#     if units in [IMPERIAL_UNITS, SI_UNITS]:
#         return units
#     raise ValidatorException(
#         u"Unkown units '{}', must use {} or {}".format(units, IMPERIAL_UNITS, SI_UNITS)
#     )


# Path: brew/utilities/color.py
from ..constants import GAL_PER_LITER
from ..constants import IMPERIAL_UNITS
from ..constants import POUND_PER_KG
from ..constants import SI_UNITS
from ..exceptions import ColorException
from ..validators import validate_units

# -*- coding: utf-8 -*-

__all__ = [
    u"srm_to_ebc",
    u"ebc_to_srm",
    u"calculate_mcu",
    u"calculate_srm_mosher",
    u"calculate_srm_daniels",
    u"calculate_srm_daniels_power",
    u"calculate_srm_noonan_power",
    u"calculate_srm_morey_hybrid",

    u"calculate_srm_morey",