def rgblinear(self, RGB):
        """
        Conversion from the sRGB components to RGB components with physically
        linear properties.
        """

        # initialize the linear RGB array
        RGBlinear = np.zeros((3,))

        #  calculate the linear RGB values
        for i,value in enumerate(RGB):
            value = float(value) / 255.
            if 0.04045 > value :
                value = ( ( value + 0.055 ) / 1.055 ) ** 2.4
            else :
                value = value / 12.92
            RGBlinear[i] = value * 100.
        return RGBlinear
    #-
dataset/ETHPy150Open ethankruse/kepler_orrery/diverging_map.py/ColorMapCreator.rgblinear/swapped operands of `>`