![]() |
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.
|
Public Member Functions | |
| None | __init__ (self, str uid, **kwargs) |
| None | initialize (self) |
| int | get_index (self) |
| str | get_id (self) |
| None | __init__ (self, int index, **kwargs) |
| str | get_id (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 | |
Simple device with a UID after having been initialized. Floating devices are devices where we can't specify which one to get, we can only construct it and after initialisation check its UID. In this class for test units we can check which UID to get.
Definition at line 213 of file devices.py.
| None microscope.testsuite.devices.TestFloatingDevice.__init__ | ( | self, | |
| str | uid, | ||
| ** | kwargs | ||
| ) |
Reimplemented from microscope.abc.FloatingDeviceMixin.
Definition at line 224 of file devices.py.
| str microscope.testsuite.devices.TestFloatingDevice.get_id | ( | self | ) |
Return a unique hardware identifier such as a serial number.
Reimplemented from microscope.abc.FloatingDeviceMixin.
Definition at line 238 of file devices.py.
References microscope.testsuite.devices.TestFloatingDevice._initialized, and microscope.testsuite.devices.TestFloatingDevice._uid.
Referenced by microscope.cameras.atmcd.AndorAtmcd.initialize().
| int microscope.testsuite.devices.TestFloatingDevice.get_index | ( | self | ) |
Expose private _index for testing purposes.
Definition at line 234 of file devices.py.
References microscope.abc.FloatingDeviceMixin._index.
| None microscope.testsuite.devices.TestFloatingDevice.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 230 of file devices.py.
References microscope.testsuite.devices.TestFloatingDevice._initialized.
Referenced by microscope.cameras.picam.PiCamera.__init__(), microscope.cameras.ximea.XimeaCamera.__init__(), and microscope.cameras.picam.PiCamera.initialize().