code: def get_illuminant_xyz(self, observer=None, illuminant=None):
          
          try:
              if observer is None:
                  observer = self.observer
  
              illums_observer = color_constants.ILLUMINANTS[observer]
          except KeyError:
              raise InvalidObserverError(self)
  
          try:
              if illuminant is None:
                  illuminant = self.illuminant
  
              illum_xyz = illums_observer[illuminant]
          except (KeyError, AttributeError):
              raise InvalidIlluminantError(illuminant)
  
          return {'X': illum_xyz[0], 'Y': illum_xyz[1], 'Z': illum_xyz[2]}
docs: :param str observer: Get the XYZ values for another observer angle. Must
              be either '2' or '10'.
          :param str illuminant: Get the XYZ values for another illuminant.
          :returns: the color's illuminant's XYZ values.