![]() |
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=None, baud=115200, timeout=0.1, **kwargs) | |
| send (self, command) | |
| clearFault (self) | |
| get_status (self) | |
| initialize (self) | |
| disable (self) | |
| get_is_on (self) | |
Public Member Functions inherited from microscope._utils.OnlyTriggersBulbOnSoftwareMixin | |
| 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.TriggerTargetMixin | |
| None | trigger (self) |
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.Device | |
| None | __del__ (self) |
| bool | get_is_enabled (self) |
| None | enable (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 | |
Public Attributes inherited from microscope.abc.SerialDeviceMixin | |
| connection = None | |
Public Attributes inherited from microscope.abc.Device | |
| bool | enabled = False |
Protected Member Functions | |
| None | _do_shutdown (self) |
| _do_enable (self) | |
| float | _get_power_mw (self) |
| None | _set_power_mw (self, float mW) |
| None | _do_set_power (self, float power) |
| float | _do_get_power (self) |
Protected Member Functions inherited from microscope._utils.OnlyTriggersBulbOnSoftwareMixin | |
| None | _do_trigger (self) |
Protected Member Functions inherited from microscope.abc.TriggerTargetMixin | |
Protected Member Functions inherited from microscope.abc.SerialDeviceMixin | |
| bytes | _readline (self) |
| int | _write (self, bytes command) |
Protected Member Functions inherited from microscope.abc.LightSource | |
Protected Member Functions inherited from microscope.abc.Device | |
| _do_disable (self) | |
Protected Attributes | |
| _max_power_mw = float(self.send(b"gmlp?")) | |
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) | |
Cobolt lasers. The cobolt lasers are diode pumped lasers and only supports `TriggerMode.SOFTWARE` (this is probably not completely true, some cobolt lasers are probably not diode pumped and those should be able to support other trigger modes, but we only got access to the 04 series).
| microscope.lights.cobolt.CoboltLaser.__init__ | ( | self, | |
| com = None, | |||
| baud = 115200, | |||
| timeout = 0.1, | |||
| ** | kwargs ) |
Reimplemented from microscope.abc.SerialDeviceMixin.
Definition at line 47 of file cobolt.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 119 of file cobolt.py.
|
protected |
Internal function that actually returns the light source power.
Reimplemented from microscope.abc.LightSource.
Definition at line 167 of file cobolt.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 164 of file cobolt.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 102 of file cobolt.py.
|
protected |
Definition at line 145 of file cobolt.py.
|
protected |
Definition at line 157 of file cobolt.py.
| microscope.lights.cobolt.CoboltLaser.clearFault | ( | self | ) |
| microscope.lights.cobolt.CoboltLaser.disable | ( | self | ) |
Disable the device for a short period for inactivity.
Reimplemented from microscope.abc.Device.
Definition at line 134 of file cobolt.py.
| microscope.lights.cobolt.CoboltLaser.get_is_on | ( | self | ) |
Return True if the light source is currently able to produce light.
Reimplemented from microscope.abc.LightSource.
Definition at line 140 of file cobolt.py.
| microscope.lights.cobolt.CoboltLaser.get_status | ( | self | ) |
Query and return the light source status.
Reimplemented from microscope.abc.LightSource.
Definition at line 88 of file cobolt.py.
| microscope.lights.cobolt.CoboltLaser.initialize | ( | self | ) |
Initialize the device. If devices have this method (not required, and many don't), then they should call it as part of the initialisation, i.e., they should call it on their `__init__` method.
Reimplemented from microscope.abc.Device.
Definition at line 110 of file cobolt.py.
| microscope.lights.cobolt.CoboltLaser.send | ( | self, | |
| command ) |
Send command and retrieve response.
Definition at line 69 of file cobolt.py.
|
protected |
| microscope.lights.cobolt.CoboltLaser.connection |