colour.Specification_Fichet2021#
- class colour.Specification_Fichet2021(path: str | None = <factory>, components: defaultdict = <factory>, is_emissive: bool = <factory>, is_polarised: bool = <factory>, is_bispectral: bool = <factory>, attributes: Tuple = <factory>)[source]#
Define the Fichet et al. (2021) spectral image specification.
- Parameters:
path (str | None) – Path of the spectral image.
components (collections.defaultdict) – Components of the spectral image, e.g., S0, S1, S2, S3, T, or any wavelength number for bi-spectral images.
is_emissive (bool) – Whether the image is emissive, i.e., using the S0 component.
is_polarised (bool) – Whether the image is polarised, i.e., using the S0, S1, S2, and S3 components.
is_bispectral (bool) – Whether the image is bi-spectral, i.e., using the T, and any wavelength number.
attributes (Tuple) – An array of
colour.io.Image_Specification_Attributeclass instances used to set attributes of the image.
Methods
from_spectral_image()
References
[FPW21]
- __init__(path: str | None = <factory>, components: defaultdict = <factory>, is_emissive: bool = <factory>, is_polarised: bool = <factory>, is_bispectral: bool = <factory>, attributes: Tuple = <factory>) None#
Methods
__init__(path, components, is_emissive, ...)from_spectral_image(path)Create a Fichet et al. (2021) spectral image specification from the specified image path.
Attributes
pathcomponentsis_emissiveis_polarisedis_bispectralattributes