Skip to main content

SpectralSpace

Trait SpectralSpace 

Source
pub trait SpectralSpace: 'static {
    type Kind: SpectralKind;
}
Expand description

Implemented by any spectral model that declares a physical kind.

The blanket alias traits below (Radiance, Reflectance, etc.) let bounds name the concept without spelling out the associated type.

Required Associated Types§

Source

type Kind: SpectralKind

The physical quantity this space encodes.

Implementors§

Source§

impl<const BANDS: usize, G, K> SpectralSpace for Spectral<BANDS, G, K>
where G: WavelengthGrid<BANDS>, K: SpectralKind,

Source§

type Kind = K