optics

Functions covering various aspects of optics

Select category:

jones

jones
Multiply Jones matrices and vectors.
jones_cpleft
Return the Jones vector for left-turn circular polarized light.
jones_cpright
Return the Jones vector for right-turn circular polarized light.
jones_intensity
Return intensity of light described by Jones vectors.
jones_lindiattenuator
Return the Jones matrix for a linear diattenuator at zero rotation.
jones_linpolarizer
Return the Jones matrix for an ideal linear polarizer.
jones_linretarder
Return the Jones matrix for a linear retarder with long axis rotation of 0 degrees.
jones_lphorizontal
Return the Jones vector for horizontal linearly polarized light.
jones_lpminus45
Return the Jones vector for light with linear polarization at -45 degrees.
jones_lpplus45
Return the Jones vector for light with linear polarization at +45 degrees.
jones_lpvertical
Return the Jones vector for vertical linearly polarized light.
jones_mirror
Return Jones matrices, representing a non-polarizing optical element.
jones_rotate
Return the Jones matrix for rotated Jones elements.
jones_rotator
Return the Jones matrix for a system rotator.
jones_unity
Return unity Jones matrices, representing a non-polarizing optical element.
jones_waveplate
Return the Jones matrix for a linear wave plate with a phase delay given in wavelength units and long axis rotation of 0 degrees.

mueller

mueller_absorber
Return Mueller matrices for a (partial) absorber.
mueller_checkmueller
Check physical validity of Mueller matrix or matrices.
mueller_circdiattenuator
Return the Mueller matrix for a linear diattenuator at zero rotation.
mueller_circretarder
Return the Mueller matrix for a circular retarder element.
mueller_depolarizer
Return Mueller matrices for a (partial) depolarizer.
mueller_homogeneous_elliptic_diattenuator
Return the Mueller matrix for a homogeneous elliptic diattenuator (see references).
mueller_homogeneous_elliptic_retarder
Return the Mueller matrix for a homogeneous elliptic retarder (see references).
mueller_ismueller
Check computational validity of Mueller matrix or matrices.
mueller_lindiattenuator
Return the Mueller matrix for a linear diattenuator at zero rotation.
mueller_linpolarizer
Return the Mueller matrix for an ideal linear polarizer.
mueller_linretarder
Return the Mueller matrix for a linear retarder with long axis rotation of 0 degrees.
mueller_mirror
Return mirror Mueller matrices, representing a non-polarizing optical element.
mueller_rotate
Return the Mueller matrix for rotated Mueller elements.
mueller_rotator
Return the Mueller matrix for a system rotator.
mueller_stokes
Multiply Mueller matrices and Stokes vectors.
mueller_unity
Return unity Mueller matrices, representing a non-polarizing optical element.
mueller_waveplate
Return the Mueller matrix for a linear wave plate with a phase delay given in wavelength units and long axis rotation of 0 degrees.

stokes

stokes_cpleft
Return the Stokes vector for left-turn circular polarized light.
stokes_cpright
Return the Stokes vector for right-turn circular polarized light.
stokes_degpolarization
Return degree of polarization of light described by Stokes vectors.
stokes_intensity
Return intensity of light described by Stokes vectors.
stokes_isstokes
Check validity of Stokes vector or vectors.
stokes_lphorizontal
Return the Stokes vector for horizontal linearly polarized light.
stokes_lpminus45
Return the Stokes vector for light with linear polarization at -45 degrees.
stokes_lpplus45
Return the Stokes vector for light with linear polarization at +45 degrees.
stokes_lpvertical
Return the Stokes vector for vertical linearly polarized light.
stokes_unpolarized
Return the Stokes vector for unpolarized light.

ABCD matrix analysis

@abcd/abcd
Create an abcd matrix chain from element/value pairs.
@abcd/trace
Trace the rays RIN through ABCD.

Zernike polynomials

zernike_cartesian
Return the cartesian zernikes up to order n (as noll's index).
zernike_name
Return the classic name for noll's index N or "-" (no name defined) without warning if N > 21.
zernike_noll_to_mn
Convert Noll's index J to M (Azimuthal degree) and N (Radial degree).
zernike_polar
Return the polar zernikes up to order n (as noll's index).
zernike_R_poly
Return the first part of the radial zernike polynom R^m_n.
zernike_osa_ansi_to_mn
Convert OSA/ANSI single-index J to double index M (Azimuthal degree) and N (Radial degree).
zernikes_and_derivatives_cartesian_OSA
Return the cartesian Zernike's pollynomials and its partial derivatives up to radial degree N, i.e. until Z[N,N]

Package: optics