![]() |
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, index=0, **kwargs) | |
| __enter__ (self) | |
| __exit__ (self, exc_type, exc_value, traceback) | |
| abort (self) | |
| initialize (self) | |
| get_id (self) | |
| set_exposure_time (self, value) | |
| get_exposure_time (self) | |
| get_cycle_time (self) | |
| soft_trigger (self) | |
| microscope.TriggerMode | trigger_mode (self) |
| microscope.TriggerType | trigger_type (self) |
| None | set_trigger (self, microscope.TriggerType ttype, microscope.TriggerMode tmode) |
Public Member Functions inherited from microscope.abc.FloatingDeviceMixin | |
Public Member Functions inherited from microscope.abc.Camera | |
| set_readout_mode (self, description) | |
| get_transform (self) | |
| set_transform (self, transform) | |
| typing.Tuple[int, int] | get_sensor_shape (self) |
| microscope.Binning | get_binning (self) |
| None | set_binning (self, microscope.Binning binning) |
| microscope.ROI | get_roi (self) |
| None | set_roi (self, microscope.ROI roi) |
Public Member Functions inherited from microscope.abc.TriggerTargetMixin | |
| None | trigger (self) |
Public Member Functions inherited from microscope.abc.DataDevice | |
| __del__ (self) | |
| None | enable (self) |
| None | disable (self) |
| None | set_client (self, new_client) |
| None | update_settings (self, settings, bool init=False) |
| None | receiveClient (self, str client_uri) |
| grab_next_data (self, bool soft_trigger=True) | |
| None | receiveData (self, data, timestamp) |
Public Member Functions inherited from microscope.abc.Device | |
| bool | get_is_enabled (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) | |
Public Attributes | |
| amplifiers | |
| get_binning = "Binning" | |
| set_binning | |
| get_roi = "Roi" | |
Public Attributes inherited from microscope.abc.Camera | |
| set_readout_mode | |
| get_roi | |
| set_roi | |
Public Attributes inherited from microscope.abc.DataDevice | |
| bool | enabled = False |
| bool | _fetch_thread = True |
| bool | _dispatch_thread = True |
| None | _fetch_thread_run = self._fetch_data() |
Public Attributes inherited from microscope.abc.Device | |
| bool | enabled = False |
Protected Member Functions | |
| _bind (self, fn) | |
| _acquiring (self) | |
| _acquiring (self, value) | |
| _set_cooler_state (self, state) | |
| _fetch_data (self) | |
| None | _do_shutdown (self) |
| _do_disable (self) | |
| _do_enable (self) | |
| _set_image (self) | |
| _set_readout_mode (self, mode_index) | |
| _get_sensor_shape (self) | |
| _get_sensor_temperature (self) | |
| None | _do_trigger (self) |
| _get_binning (self) | |
| _set_binning (self, binning) | |
| _get_roi (self) | |
| _set_roi (self, roi) | |
Protected Member Functions inherited from microscope.abc.Camera | |
| _process_data (self, data) | |
| _set_readout_transform (self, new_transform) | |
Protected Member Functions inherited from microscope.abc.TriggerTargetMixin | |
Protected Member Functions inherited from microscope.abc.DataDevice | |
| _send_data (self, client, data, timestamp) | |
| None | _dispatch_loop (self) |
| None | _fetch_loop (self) |
| _client (self) | |
| _client (self, val) | |
| None | _put (self, data, timestamp) |
Protected Member Functions inherited from microscope.abc.Device | |
Protected Attributes | |
| int | _rdepth = 0 |
| _handle = None | |
| _roi = None | |
| _binning = None | |
| _caps = GetCapabilities() | |
| list | _readout_modes = [] |
| _set_readout_mode | |
| _get_sensor_temperature | |
| _set_cooler_state | |
| _acquiring | |
Protected Attributes inherited from microscope.abc.FloatingDeviceMixin | |
| _index = index | |
Protected Attributes inherited from microscope.abc.Camera | |
| list | _readout_modes = ["default"] |
| int | _readout_mode = 0 |
| tuple | _readout_transform = (False, False, False) |
| tuple | _client_transform = (False, False, False) |
| tuple | _transform = (False, False, False) |
Protected Attributes inherited from microscope.abc.DataDevice | |
| _fetch_thread = None | |
| bool | _fetch_thread_run = False |
| bool | _using_callback = False |
| list | _clientStack = [] |
| _liveClients = set() | |
| _dispatch_thread = None | |
| _dispatch_buffer = queue.Queue(maxsize=buffer_length) | |
| _new_data_condition = threading.Condition() | |
| _client = None | |
| tuple | _new_data = (data, timestamp) |
Protected Attributes inherited from microscope.abc.Device | |
| dict | _settings = {} |
Additional Inherited Members | |
Static Public Attributes inherited from microscope.abc.Camera | |
| list | ALLOWED_TRANSFORMS = [p for p in itertools.product(*3 * [[False, True]])] |
Static Public Attributes inherited from microscope.abc.DataDevice | |
| set_setting = keep_acquiring(Device.set_setting) | |
Implements CameraDevice interface for Andor ATMCD library.
| microscope.cameras.atmcd.AndorAtmcd.__init__ | ( | self, | |
| index = 0, | |||
| ** | kwargs ) |
Reimplemented from microscope.abc.FloatingDeviceMixin.
Definition at line 1370 of file atmcd.py.
| microscope.cameras.atmcd.AndorAtmcd.__enter__ | ( | self | ) |
Context manager entry code. The camera class is also a context manager that ensures DLL calls act on this camera by obtaining the _dll_lock. We could use RLock to give re-entrant behaviour, but we track recursion ourselves so that we know when we must call SetCurrentCamera.
Definition at line 1391 of file atmcd.py.
| microscope.cameras.atmcd.AndorAtmcd.__exit__ | ( | self, | |
| exc_type, | |||
| exc_value, | |||
| traceback ) |
|
protected |
Indicate whether or not camera is acquiring data.
Reimplemented from microscope.abc.DataDevice.
Definition at line 1412 of file atmcd.py.
|
protected |
Reimplemented from microscope.abc.DataDevice.
Definition at line 1418 of file atmcd.py.
|
protected |
Binds unbound SDK functions to this camera.
Definition at line 1381 of file atmcd.py.
|
protected |
Call abort to stop acquisition.
Reimplemented from microscope.abc.Device.
Definition at line 1650 of file atmcd.py.
|
protected |
Enter data acquisition state.
Reimplemented from microscope.abc.Device.
Definition at line 1654 of file atmcd.py.
|
protected |
Warm up the sensor then shut down the camera. This may take some time, so we should ensure that the _dll_lock is released when we don't need it.
Reimplemented from microscope.abc.Device.
Definition at line 1623 of file atmcd.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 1779 of file atmcd.py.
|
protected |
Poll for data and return it, with minimal processing. Returns the data, or None if no data is available.
Reimplemented from microscope.abc.DataDevice.
Definition at line 1599 of file atmcd.py.
|
protected |
Return the binning setting.
Reimplemented from microscope.abc.Camera.
Definition at line 1783 of file atmcd.py.
|
protected |
Return the current ROI setting.
Reimplemented from microscope.abc.Camera.
Definition at line 1793 of file atmcd.py.
|
protected |
Return the sensor geometry.
Reimplemented from microscope.abc.Camera.
Definition at line 1742 of file atmcd.py.
|
protected |
|
protected |
Set horizontal and vertical binning. Default to single pixel.
Reimplemented from microscope.abc.Camera.
Definition at line 1788 of file atmcd.py.
|
protected |
|
protected |
Set ROI and binning prior to acquisition.
Definition at line 1671 of file atmcd.py.
|
protected |
Configure channel, amplifier and VS-speed.
Definition at line 1728 of file atmcd.py.
|
protected |
Set the ROI, defaulting to full sensor area.
Reimplemented from microscope.abc.Camera.
Definition at line 1798 of file atmcd.py.
| microscope.cameras.atmcd.AndorAtmcd.abort | ( | self | ) |
Abort acquisition.
Reimplemented from microscope.abc.DataDevice.
Definition at line 1424 of file atmcd.py.
| microscope.cameras.atmcd.AndorAtmcd.get_cycle_time | ( | self | ) |
Determine the minimum time between exposures.
Reimplemented from microscope.abc.Camera.
Definition at line 1717 of file atmcd.py.
| microscope.cameras.atmcd.AndorAtmcd.get_exposure_time | ( | self | ) |
Query the actual exposure time.
Reimplemented from microscope.abc.Camera.
Definition at line 1711 of file atmcd.py.
| microscope.cameras.atmcd.AndorAtmcd.get_id | ( | self | ) |
Return the device's unique identifier.
Reimplemented from microscope.abc.FloatingDeviceMixin.
Definition at line 1618 of file atmcd.py.
| microscope.cameras.atmcd.AndorAtmcd.initialize | ( | self | ) |
Initialize the library and hardware and create Setting objects.
Reimplemented from microscope.abc.Device.
Definition at line 1442 of file atmcd.py.
| microscope.cameras.atmcd.AndorAtmcd.set_exposure_time | ( | self, | |
| value ) |
Set exposure time.
Reimplemented from microscope.abc.Camera.
Definition at line 1706 of file atmcd.py.
| None microscope.cameras.atmcd.AndorAtmcd.set_trigger | ( | self, | |
| microscope.TriggerType | ttype, | ||
| microscope.TriggerMode | tmode ) |
Set device for a specific trigger.
Reimplemented from microscope.abc.TriggerTargetMixin.
Definition at line 1768 of file atmcd.py.
| microscope.cameras.atmcd.AndorAtmcd.soft_trigger | ( | self | ) |
| microscope.TriggerMode microscope.cameras.atmcd.AndorAtmcd.trigger_mode | ( | self | ) |
Reimplemented from microscope.abc.TriggerTargetMixin.
Definition at line 1761 of file atmcd.py.
| microscope.TriggerType microscope.cameras.atmcd.AndorAtmcd.trigger_type | ( | self | ) |
Reimplemented from microscope.abc.TriggerTargetMixin.
Definition at line 1765 of file atmcd.py.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| microscope.cameras.atmcd.AndorAtmcd.amplifiers |
| microscope.cameras.atmcd.AndorAtmcd.get_binning = "Binning" |