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.simulators.SimulatedDeformableMirror Class Reference
Inheritance diagram for microscope.simulators.SimulatedDeformableMirror:
microscope._utils.OnlyTriggersOnceOnSoftwareMixin microscope.abc.DeformableMirror microscope.abc.TriggerTargetMixin microscope.abc.TriggerTargetMixin microscope.abc.Device

Public Member Functions

def __init__ (self, n_actuators, **kwargs)
 
int n_actuators (self)
 
def get_current_pattern (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

Definition at line 376 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

def microscope.simulators.SimulatedDeformableMirror.__init__ (   self,
  n_actuators,
**  kwargs 
)

Reimplemented from microscope.abc.DeformableMirror.

Definition at line 380 of file __init__.py.

380 def __init__(self, n_actuators, **kwargs):
381 super().__init__(**kwargs)
382 self._n_actuators = n_actuators
383

Member Function Documentation

◆ get_current_pattern()

def microscope.simulators.SimulatedDeformableMirror.get_current_pattern (   self)
Method for debug purposes only.

This method is not part of the DeformableMirror ABC, it only
exists on this test device to help during development.

Definition at line 394 of file __init__.py.

394 def get_current_pattern(self):
395 """Method for debug purposes only.
396
397 This method is not part of the DeformableMirror ABC, it only
398 exists on this test device to help during development.
399 """
400 return self._current_pattern
401
402

References microscope.simulators.SimulatedDeformableMirror._current_pattern.

◆ n_actuators()

int microscope.simulators.SimulatedDeformableMirror.n_actuators (   self)

Reimplemented from microscope.abc.DeformableMirror.

Definition at line 388 of file __init__.py.

388 def n_actuators(self) -> int:
389 return self._n_actuators
390

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