optiland.wavefront.wavefront_data#

This module defines the WavefrontData class.

Kramer Harrison, 2024

Classes

WavefrontData(pupil_x, pupil_y, pupil_z, ...)

Data container for wavefront results at a given field and wavelength.

class WavefrontData(pupil_x: BEArrayT, pupil_y: BEArrayT, pupil_z: BEArrayT, opd: BEArrayT, intensity: BEArrayT, radius: float, prt_matrix: BEArrayT | None = None, E_exits: list[BEArrayT] | None = None, reference_center: tuple[float, float, float] | None = None)[source]#

Data container for wavefront results at a given field and wavelength.

Variables:
  • pupil_x (be.ndarray) – x-coordinates of ray intersections at exit pupil.

  • pupil_y (be.ndarray) – y-coordinates of ray intersections at exit pupil.

  • pupil_z (be.ndarray) – z-coordinates of ray intersections at exit pupil.

  • opd (be.ndarray) – Optical path difference data, normalized to waves.

  • intensity (be.ndarray) – Ray intensities at the exit pupil.

  • radius (float) – Radius of curvature of the exit pupil reference sphere.

  • reference_center (tuple[float, float, float] | None) – Global coordinates of the exit-pupil reference sphere center. None for planar references.

  • E_exits (list[be.ndarray] | None) – A list of 3D electric field vectors at the exit pupil, representing incoherent polarization states. Includes launch power and scalar loss in the amplitudes. Vectorial PSFs consume these fields without applying intensity scaling again.

  • prt_matrix (be.ndarray | None) – Raw 3D polarization transport matrices. Includes Jones effects but excludes launch power, scalar loss and clipping masks. Use E_exits for power-scaled field calculations.

E_exits: list[BEArrayT] | None = None#
intensity: BEArrayT#
opd: BEArrayT#
prt_matrix: BEArrayT | None = None#
pupil_x: BEArrayT#
pupil_y: BEArrayT#
pupil_z: BEArrayT#
radius: float#
reference_center: tuple[float, float, float] | None = None#