@staticmethod
def __clamp_kalvin__(val):
    """
        clamp given kalvin values for a range from 3000..6500
        """
    if val > 6500:
        val = 6500
    elif val < 3000:
        val = 3000
    return val
