SegmentedDeformableMirror¶
-
class
hcipy.optics.
SegmentedDeformableMirror
(segments)¶ Bases:
hcipy.optics.deformable_mirror.DeformableMirror
A segmented deformable mirror.
This deformable mirror class can simulate devices such as those made by IrisAO and BMC. All segments are controlled in piston, tip and tilt.
- Parameters
- segmentsModeBasis
A mode basis with all segments.
Attributes Summary
The segments of this deformable mirror in a ModeBasis.
Methods Summary
get_segment_actuators
(segment_id)Get the actuators for an individual segment of the DM.
set_segment_actuators
(segment_id, piston, …)Set the actuators for an individual segment of the DM.
Attributes Documentation
-
segments
¶ The segments of this deformable mirror in a ModeBasis.
Methods Documentation
-
get_segment_actuators
(segment_id)¶ Get the actuators for an individual segment of the DM.
- Parameters
- segment_idint
The index of the segment for which to get the actuators.
- Returns
- pistonscalar
The piston of the segment in meters.
- tipscalar
The tip of the segment in radians.
- tiltscalar
The tilt of the segment in radians.
-
set_segment_actuators
(segment_id, piston, tip, tilt)¶ Set the actuators for an individual segment of the DM.
- Parameters
- segment_idint
The index of the segment for which to get the actuators.
- pistonscalar
The piston of the segment in meters.
- tipscalar
The tip of the segment in radians.
- tiltscalar
The tilt of the segment in radians.