exorad.models.optics.opticalElement module

class OpticalElement(description, wl)[source]

Bases: Logger

Handler for an optical element.

This class represents an optical element within an optical path, managing its transmission, emissivity, temperature, and other relevant properties.

Parameters:
  • description (dict) – Dictionary containing the optical element’s description from the payload configuration file.

  • wl (astropy.units.Quantity or array_like) – Wavelength grid where the optical properties of the element are evaluated. Should have units of length (e.g., microns).

Variables:
  • name (str) – Name of the optical element.

  • description (dict) – Original description dictionary of the optical element.

  • wl (astropy.units.Quantity or array_like) – Wavelength grid.

  • transmission (numpy.ndarray) – Transmission of the optical element evaluated over the wavelength grid.

  • emissivity (numpy.ndarray) – Emissivity of the optical element evaluated over the wavelength grid.

  • temperature (astropy.units.Quantity or None) – Temperature of the optical element in Kelvin. None if not specified.

  • type (str) – Type of the optical element (e.g., “detector box”, “optics box”, “surface”).

  • position (str) – Position of the optical element in the optical path (e.g., “detector”, “optics box”, “path”).

  • angle (astropy.units.Quantity or None) – Solid angle associated with the optical element in steradians. None if not specified.

_get_angle()[source]

Retrieves and processes the solid angle of the optical element.

_get_position()[source]

Determines the position of the optical element in the optical path.

_get_temperature()[source]

Retrieves and processes the temperature of the optical element.

_get_transmission()[source]

Calculates the transmission of the optical element over the wavelength grid.

_get_emissivity()[source]

Calculates the emissivity of the optical element over the wavelength grid.

Initialize the OpticalElement instance.

Parameters:
  • description (dict) – Dictionary containing the optical element’s description.

  • wl (astropy.units.Quantity or array_like) – Wavelength grid with appropriate units.