xopto.materials.absorption.carotenoid module

class Carotenoid[source]

Bases: xopto.materials.absorption.base.Absorption

Base class of material density.

Parameters
  • t (float) – Default medium temperature.

  • trange (Tuple[float, float] or None) – Valid temperature range in K as (min, max).

material = 'carotenoid'
plot(wavelength: Optional[numpy.ndarray] = None, show: bool = True)[source]

Plot the absorption coefficient at the given wavelengths.

Parameters

wavelength (np.ndarray) – Wavelengths of light. If None, use the reference values.