colour.write_sds_to_csv_file#

colour.write_sds_to_csv_file(sds: Dict[str, SpectralDistribution], path: str | Path) bool[source]#

Write the given spectral distributions to given CSV file.

Parameters:
  • sds (Dict[str, SpectralDistribution]) – Spectral distributions to write to given CSV file.

  • path (str | Path) – CSV file path.

Returns:

Definition success.

Return type:

bool

Raises:

ValueError – If the given spectral distributions have different shapes.