BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
microscope.mirror.mirao52e.Mirao52e Class Reference
Inheritance diagram for microscope.mirror.mirao52e.Mirao52e:
microscope._utils.OnlyTriggersOnceOnSoftwareMixin microscope.abc.DeformableMirror microscope.abc.TriggerTargetMixin microscope.abc.TriggerTargetMixin microscope.abc.Device

Public Member Functions

None __init__ (self, **kwargs)
 
int n_actuators (self)
 
- Public Member Functions inherited from microscope._utils.OnlyTriggersOnceOnSoftwareMixin
microscope.TriggerType trigger_type (self)
 
microscope.TriggerMode trigger_mode (self)
 
None set_trigger (self, microscope.TriggerType ttype, microscope.TriggerMode tmode)
 
microscope.TriggerMode trigger_mode (self)
 
microscope.TriggerType trigger_type (self)
 
None set_trigger (self, microscope.TriggerType ttype, microscope.TriggerMode tmode)
 
None trigger (self)
 
- Public Member Functions inherited from microscope.abc.DeformableMirror
None __init__ (self, **kwargs)
 
int n_actuators (self)
 
None apply_pattern (self, numpy.ndarray pattern)
 
None queue_patterns (self, numpy.ndarray patterns)
 
None next_pattern (self)
 
None trigger (self)
 
- Public Member Functions inherited from microscope.abc.Device
None __init__ (self)
 
None __del__ (self)
 
bool get_is_enabled (self)
 
None disable (self)
 
None enable (self)
 
None initialize (self)
 
None shutdown (self)
 
None add_setting (self, name, dtype, get_func, set_func, values, typing.Optional[typing.Callable[[], bool]] readonly=None)
 
def get_setting (self, str name)
 
def get_all_settings (self)
 
None set_setting (self, str name, value)
 
def describe_setting (self, str name)
 
def describe_settings (self)
 
def update_settings (self, incoming, bool init=False)
 

Additional Inherited Members

- Public Attributes inherited from microscope.abc.Device
 enabled
 

Detailed Description

Imagine Optic Mirao 52e deformable mirror.

The Mirao 52e deformable mirrors only support software trigger.

Definition at line 58 of file mirao52e.py.

Constructor & Destructor Documentation

◆ __init__()

None microscope.mirror.mirao52e.Mirao52e.__init__ (   self,
**  kwargs 
)

Reimplemented from microscope.abc.DeformableMirror.

Definition at line 68 of file mirao52e.py.

68 def __init__(self, **kwargs) -> None:
69 super().__init__(**kwargs)
70 # Status is not the return code of the function calls.
71 # Status is where we can find the error code in case a
72 # function call returns false. This _status variable will be
73 # an argument in all function calls.
74 self._status = ctypes.pointer(ctypes.c_int(mro.OK))
75 if not mro.open(self._status):
77 "failed to open mirao mirror (error code %d)"
78 % self._status.contents.value
79 )
80

Member Function Documentation

◆ n_actuators()

int microscope.mirror.mirao52e.Mirao52e.n_actuators (   self)

Reimplemented from microscope.abc.DeformableMirror.

Definition at line 82 of file mirao52e.py.

82 def n_actuators(self) -> int:
83 return mro.NB_COMMAND_VALUES
84

The documentation for this class was generated from the following file: