xopto.materials.absorption.oxyhem module

class OxyHem[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 = 'oxygenated hemoglobin'
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.

  • show (bool) – Show the plot window if True.