colour_datasets.loaders.DatasetLoader_Labsphere2019#

class colour_datasets.loaders.DatasetLoader_Labsphere2019[source]#

Bases: AbstractDatasetLoader

Define the Labsphere (2019) Labsphere SRS-99-020 dataset loader.

Attributes

Methods

References

[Labsphere19]

ID: str = '3245875'#

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

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

Sync, parse, convert and return the Labsphere (2019) Labsphere SRS-99-020 dataset content.

Returns:

Labsphere (2019) Labsphere SRS-99-020 dataset content.

Return type:

dict

Examples

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