def XYZ_to_xy(XYZ):
    X, Y, Z = XYZ
    divider = (X + Y + Z)
    x = X / divider
    y = Y / divider
    return [x, y]
Convert XYZ to xy
dataset/ETHPy150Open mikrosimage/ColorPipe-tools/utils/colors_helper.py/XYZ_to_xy