DeformableMirror
- class hcipy.optics.DeformableMirror(influence_functions)
Bases:
OpticalElement
A deformable mirror using influence functions.
This class does not contain any temporal simulation (ie. settling time), and assumes that there is no crosstalk between actuators.
- Parameters:
- influence_functionsModeBasis
The influence function for each of the actuators.
Attributes Summary
The influence function for each of the actuators of this deformable mirror.
The optical path difference in meters that this deformable mirror induces.
The surface of the deformable mirror in meters.
Methods Summary
backward
(wavefront)Propagate a wavefront backwards through the deformable mirror.
flatten
()Flatten the DM by setting all actuators to zero.
forward
(wavefront)Propagate a wavefront through the deformable mirror.
phase_for
(wavelength)Get the phase in radians that is added to a wavefront with a specified wavelength.
random
(rms)Set the dm actuators with random white noise of a certain rms.
Attributes Documentation
- actuators
- influence_functions
The influence function for each of the actuators of this deformable mirror.
- num_actuators
- opd
The optical path difference in meters that this deformable mirror induces.
- surface
The surface of the deformable mirror in meters.
Methods Documentation
- backward(wavefront)
Propagate a wavefront backwards through the deformable mirror.
- Parameters:
- wavefrontWavefront
The incoming wavefront.
- Returns:
- Wavefront
The reflected wavefront.
- flatten()
Flatten the DM by setting all actuators to zero.
- forward(wavefront)
Propagate a wavefront through the deformable mirror.
- Parameters:
- wavefrontWavefront
The incoming wavefront.
- Returns:
- Wavefront
The reflected wavefront.
- phase_for(wavelength)
Get the phase in radians that is added to a wavefront with a specified wavelength.
- Parameters:
- wavelengthscalar
The wavelength at which to calculate the phase deformation.
- Returns:
- Field
The calculated phase deformation.
- random(rms)
Set the dm actuators with random white noise of a certain rms.
- Parameters:
- rmsscalar
The dm surface rms.