def get_secondaries(name='ITU-R BT.2020'):
    '\n    secondary color の座標を求める\n\n    Parameters\n    ----------\n    name : str\n        a name of the color space.\n\n    Returns\n    -------\n    array_like\n        secondaries. the order is magenta, yellow, cyan.\n\n    '
    secondary_rgb = np.array([[1.0, 0.0, 1.0], [1.0, 1.0, 0.0], [0.0, 1.0, 1.0]])
    illuminant_XYZ = D65_WHITE
    illuminant_RGB = D65_WHITE
    chromatic_adaptation_transform = 'CAT02'
    rgb_to_xyz_matrix = get_rgb_to_xyz_matrix(name)
    large_xyz = RGB_to_XYZ(secondary_rgb, illuminant_RGB, illuminant_XYZ, rgb_to_xyz_matrix, chromatic_adaptation_transform)
    xy = XYZ_to_xy(large_xyz, illuminant_XYZ)
    return (xy, secondary_rgb.reshape((3, 3)))
secondary color の座標を求める

Parameters
----------
name : str
    a name of the color space.

Returns
-------
array_like
    secondaries. the order is magenta, yellow, cyan.
def get_secondaries(name='ITU-R BT.2020'):
    '\n    secondary color の座標を求める\n\n    Parameters\n    ----------\n    name : str\n        a name of the color space.\n\n    Returns\n    -------\n    array_like\n        secondaries. the order is magenta, yellow, cyan.\n\n    '
    secondary_rgb = np.array([[1.0, 0.0, 1.0], [1.0, 1.0, 0.0], [0.0, 1.0, 1.0]])
    illuminant_XYZ = D65_WHITE
    illuminant_RGB = D65_WHITE
    chromatic_adaptation_transform = 'CAT02'
    rgb_to_xyz_matrix = get_rgb_to_xyz_matrix(name)
    large_xyz = RGB_to_XYZ(secondary_rgb, illuminant_RGB, illuminant_XYZ, rgb_to_xyz_matrix, chromatic_adaptation_transform)
    xy = XYZ_to_xy(large_xyz, illuminant_XYZ)
    return (xy, secondary_rgb.reshape((3, 3)))