code: def get_numpy_array(self):
          
          # This holds the obect's spectral data, and will be passed to
          # numpy.array() to create a numpy array (matrix) for the matrix math
          # that will be done during the conversion to XYZ.
          values = []
  
          # Use the required value list to build this dynamically. Default to
          # 0.0, since that ultimately won't affect the outcome due to the math
          # involved.
          for val in self.VALUES:
              values.append(getattr(self, val, 0.0))
  
          # Create and the actual numpy array/matrix from the spectral list.
          color_array = numpy.array([values])
          return color_array
docs: Dump this color into NumPy array.