PhotonicLantern
- class hcipy.optics.PhotonicLantern(lantern_modes, normalize_modes=True)
Bases:
OpticalElementA generic photonic lantern
- Parameters:
- lantern_modesModeBasis
The modes corresponding to the lantern ports.
- wavelengthscalar
The wavelength of the simulation.
- normalize_modesbool
Normalize the modes to unit power or not. Default is True.
Methods Summary
backward(wavefront)Backwards propagate the light through the photonic lantern.
forward(wavefront)Forward propagate the light through the photonic lantern
Methods Documentation
- backward(wavefront)
Backwards propagate the light through the photonic lantern.
- Parameters:
- wavefrontWavefront
The complex amplitudes for each of the input ports.
- Returns:
- Wavefront
The outgoing wavefront.
- forward(wavefront)
Forward propagate the light through the photonic lantern
- Parameters:
- wavefrontWavefront
The incoming wavefront.
- Returns:
- Wavefront
The complex amplitudes of each output port.