def get_intensity(octal):
    from math import sqrt

    r, g, b = octal[1:3], octal[3:5], octal[5:]
    r, g, b = int(r, 16), int(g, 16), int(b, 16)
    intensity = sqrt(3 / (r * r + g * g + b * b))
    return intensity
dataset/ETHPy150Open tanghaibao/jcvi/graphics/base.py/get_intensity/swapped operands of `/`