colour_datasets.loaders.DatasetLoader_Brendel2020#

class colour_datasets.loaders.DatasetLoader_Brendel2020[source]#

Bases: AbstractDatasetLoader

Define the Brendel (2020) Measured Commercial LED Spectra dataset loader.

Attributes

ID

Methods

load

References

[Bre20]

ID: str = '4051012'#

Dataset record id, i.e. the Zenodo record number.

load() Dict[str, SpectralDistribution][source]#

Sync, parse, convert and return the Brendel (2020) Measured Commercial LED Spectra dataset content.

Returns:

Brendel (2020) Measured Commercial LED Spectra dataset content.

Return type:

dict

Examples

>>> from colour_datasets.utilities import suppress_stdout
>>> dataset = DatasetLoader_Brendel2020()
>>> with suppress_stdout():
...     dataset.load()
>>> len(dataset.content.keys())
29