def xyY2XYZ(xyY):
    """
    convert xyY to XYZ
    :param xyY: array-like
    :return: array like
    """
    X = xyY[0] * xyY[2] / xyY[1]
    Y = xyY[2]
    Z = ((1 - xyY[0] - xyY[1]) * xyY[2]) / xyY[1]

    return [X, Y, Z]