![]() |
BioImager
4.9.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
|
Public Member Functions | |
| __init__ (self, com, baud=9600, timeout=2.0, **kwargs) | |
| get_status (self) | |
| get_is_on (self) | |
| microscope.TriggerType | trigger_type (self) |
| microscope.TriggerMode | trigger_mode (self) |
| None | set_trigger (self, microscope.TriggerType ttype, microscope.TriggerMode tmode) |
Public Member Functions inherited from microscope.abc.SerialDeviceMixin | |
Public Member Functions inherited from microscope.abc.LightSource | |
| float | power (self) |
| None | power (self, float power) |
| float | get_set_power (self) |
Public Member Functions inherited from microscope.abc.TriggerTargetMixin | |
| None | trigger (self) |
Public Member Functions inherited from microscope.abc.Device | |
| 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) |
| get_setting (self, str name) | |
| get_all_settings (self) | |
| None | set_setting (self, str name, value) |
| describe_setting (self, str name) | |
| describe_settings (self) | |
| update_settings (self, incoming, bool init=False) | |
Public Attributes | |
| connection | |
| str | _has_apc = b"P" |
Public Attributes inherited from microscope.abc.SerialDeviceMixin | |
| connection = None | |
Public Attributes inherited from microscope.abc.Device | |
| bool | enabled = False |
Protected Member Functions | |
| _write (self, command) | |
| _do_enable (self) | |
| None | _do_shutdown (self) |
| _do_disable (self) | |
| None | _do_set_power (self, float power) |
| float | _do_get_power (self) |
| None | _do_trigger (self) |
Protected Member Functions inherited from microscope.abc.SerialDeviceMixin | |
| bytes | _readline (self) |
Protected Member Functions inherited from microscope.abc.LightSource | |
Protected Member Functions inherited from microscope.abc.TriggerTargetMixin | |
Protected Member Functions inherited from microscope.abc.Device | |
Protected Attributes | |
| bool | _has_apc = True |
Protected Attributes inherited from microscope.abc.SerialDeviceMixin | |
| _comms_lock = threading.RLock() | |
Protected Attributes inherited from microscope.abc.LightSource | |
| float | _set_point = 0.0 |
Protected Attributes inherited from microscope.abc.Device | |
| dict | _settings = {} |
Additional Inherited Members | |
Static Public Member Functions inherited from microscope.abc.SerialDeviceMixin | |
| lock_comms (func) | |
Omicron DeepStar laser. Omicron LDM lasers can be bought with and without the LDM.APC power monitoring option (light pick-off). If this option is not available, the `power` attribute will return the set power value instead of the actual power value.
Definition at line 32 of file deepstar.py.
| microscope.lights.deepstar.DeepstarLaser.__init__ | ( | self, | |
| com, | |||
| baud = 9600, | |||
| timeout = 2.0, | |||
| ** | kwargs ) |
Reimplemented from microscope.abc.SerialDeviceMixin.
Definition at line 44 of file deepstar.py.
|
protected |
Do any device-specific work on disable. Subclasses should override this method rather than modify `disable`.
Reimplemented from microscope.abc.Device.
Definition at line 128 of file deepstar.py.
|
protected |
Do any device specific work on enable. Subclasses should override this method, rather than modify `enable`.
Reimplemented from microscope.abc.Device.
Definition at line 96 of file deepstar.py.
|
protected |
Internal function that actually returns the light source power.
Reimplemented from microscope.abc.LightSource.
Definition at line 153 of file deepstar.py.
|
protected |
Internal function that actually sets the light source power. This function will be called by the `power` attribute setter after clipping the argument to the [0, 1] interval.
Reimplemented from microscope.abc.LightSource.
Definition at line 143 of file deepstar.py.
|
protected |
Private method - actual shutdown of the device. Users should be calling :meth:`shutdown` and not this method. Concrete implementations should implement this method instead of `shutdown`.
Reimplemented from microscope.abc.Device.
Definition at line 123 of file deepstar.py.
|
protected |
Actual trigger of the device. Classes implementing this interface should implement this method instead of `trigger`.
Reimplemented from microscope.abc.TriggerTargetMixin.
Definition at line 193 of file deepstar.py.
|
protected |
Send a command.
Reimplemented from microscope.abc.SerialDeviceMixin.
Definition at line 75 of file deepstar.py.
| microscope.lights.deepstar.DeepstarLaser.get_is_on | ( | self | ) |
Return True if the light source is currently able to produce light.
Reimplemented from microscope.abc.LightSource.
Definition at line 136 of file deepstar.py.
| microscope.lights.deepstar.DeepstarLaser.get_status | ( | self | ) |
Query and return the light source status.
Reimplemented from microscope.abc.LightSource.
Definition at line 87 of file deepstar.py.
| None microscope.lights.deepstar.DeepstarLaser.set_trigger | ( | self, | |
| microscope.TriggerType | ttype, | ||
| microscope.TriggerMode | tmode ) |
Set device for a specific trigger.
Reimplemented from microscope.abc.TriggerTargetMixin.
Definition at line 181 of file deepstar.py.
| microscope.TriggerMode microscope.lights.deepstar.DeepstarLaser.trigger_mode | ( | self | ) |
Reimplemented from microscope.abc.TriggerTargetMixin.
Definition at line 178 of file deepstar.py.
| microscope.TriggerType microscope.lights.deepstar.DeepstarLaser.trigger_type | ( | self | ) |
Reimplemented from microscope.abc.TriggerTargetMixin.
Definition at line 174 of file deepstar.py.
|
protected |
Definition at line 67 of file deepstar.py.
| str microscope.lights.deepstar.DeepstarLaser._has_apc = b"P" |
Definition at line 156 of file deepstar.py.
| microscope.lights.deepstar.DeepstarLaser.connection |
Definition at line 46 of file deepstar.py.