eradiate.spectral.MonoSpectralIndex¶
- class eradiate.spectral.MonoSpectralIndex(w=<Quantity(550.0, 'nanometer')>)[source]¶
Bases:
SpectralIndexMonochromatic spectral index.
- Parameters:
w (
quantityorfloat, default:550.0 nm) – Wavelength.Unit-enabled field (default: ucc[wavelength]).
- Fields:
w (
quantity) – Wavelength.
See also
- static new(mode=None, **kwargs)¶
Spectral index factory method.
- Parameters:
mode (.ModeFlag or
str, optional) – Spectral mode identifier. IfNone, the current mode is used.- Returns:
SpectralIndex– Spectral index instance.
Notes
Create a new instance of the spectral index class corresponding to the specified mode.
See also
- property as_hashable¶
Hashable representation of the spectral index.
Notes
The hashable value is used by
eradiate.experiments.Experimentto identify the simulation results corresponding to a given spectral index.
- property formatted_repr¶
Formatted representation of the spectral index.