xyY_from_XYZ_cie#

colorsynth.xyY_from_XYZ_cie(XYZ, axis=-1)[source]#

Convert from a CIE \(XYZ\) color space to a \(xyY\) color space

Parameters:
  • XYZ (ndarray) – color values in a CIE \(XYZ\) color space to be converted

  • axis (int) – logical axis along which the \(XYZ\) values are distributed

Return type:

ndarray