![]() |
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 | |
| None | __init__ (self, _ZaberConnection conn, int device_address) |
| _ZaberReply | command (self, bytes command, int axis=0) |
| bool | is_busy (self) |
| None | wait_until_idle (self, float timeout=10.0) |
| int | get_number_axes (self) |
| bool | been_homed (self, int axis=0) |
| None | home (self, int axis=0) |
| int | get_rotation_length (self, int axis) |
| int | get_index_distance (self, int axis) |
| int | get_current_index (self, int axis) |
| None | move_to_index (self, int axis, int index) |
| None | move_to_absolute_position (self, int axis, int position) |
| None | move_by_relative_position (self, int axis, int position) |
| int | get_absolute_position (self, int axis) |
| int | get_limit_max (self, int axis) |
| int | get_limit_min (self, int axis) |
| None | lamp_off (self, int channel) |
| None | lamp_on (self, int channel) |
| float | get_lamp_max_flux (self, int channel) |
| float | get_lamp_flux (self, int channel) |
| None | set_lamp_flux (self, int channel, float flux) |
| bool | get_lamp_is_on (self, int channel) |
| float | get_lamp_temperature (self, int channel) |
Protected Member Functions | |
| None | _validate_reply (self, _ZaberReply reply) |
Protected Attributes | |
| _conn = conn | |
| str | _address_bytes = b"%02d" % device_address |
A Zaber connection to control a single device.
This class provides a Python interface to the Zaber commands. It
also does the routing of commands to the correct device in the
chain.
Args:
conn: the :class:`_ZaberConnection` instance for this device.
device_address: the device address for the specific device.
This is the number used at the start of all Zaber
commands.
| None microscope.controllers.zaber._ZaberDeviceConnection.__init__ | ( | self, | |
| _ZaberConnection | conn, | ||
| int | device_address ) |
|
protected |
Definition at line 177 of file zaber.py.
| bool microscope.controllers.zaber._ZaberDeviceConnection.been_homed | ( | self, | |
| int | axis = 0 ) |
True if all axes, or selected axis, has been homed.
Definition at line 231 of file zaber.py.
| _ZaberReply microscope.controllers.zaber._ZaberDeviceConnection.command | ( | self, | |
| bytes | command, | ||
| int | axis = 0 ) |
Send command and return reply.
Args:
command: a bytes array with the command and its
parameters.
axis: the axis number to send the command. If zero, the
command is executed by all axis in the device.
Definition at line 189 of file zaber.py.
| int microscope.controllers.zaber._ZaberDeviceConnection.get_absolute_position | ( | self, | |
| int | axis ) |
| int microscope.controllers.zaber._ZaberDeviceConnection.get_current_index | ( | self, | |
| int | axis ) |
| int microscope.controllers.zaber._ZaberDeviceConnection.get_index_distance | ( | self, | |
| int | axis ) |
| float microscope.controllers.zaber._ZaberDeviceConnection.get_lamp_flux | ( | self, | |
| int | channel ) |
| bool microscope.controllers.zaber._ZaberDeviceConnection.get_lamp_is_on | ( | self, | |
| int | channel ) |
| float microscope.controllers.zaber._ZaberDeviceConnection.get_lamp_max_flux | ( | self, | |
| int | channel ) |
| float microscope.controllers.zaber._ZaberDeviceConnection.get_lamp_temperature | ( | self, | |
| int | channel ) |
| int microscope.controllers.zaber._ZaberDeviceConnection.get_limit_max | ( | self, | |
| int | axis ) |
| int microscope.controllers.zaber._ZaberDeviceConnection.get_limit_min | ( | self, | |
| int | axis ) |
| int microscope.controllers.zaber._ZaberDeviceConnection.get_number_axes | ( | self | ) |
| int microscope.controllers.zaber._ZaberDeviceConnection.get_rotation_length | ( | self, | |
| int | axis ) |
Number of microsteps needed to complete one full rotation. This is only valid on controllers and rotary devices including filter wheels and filter cube turrets.
Definition at line 240 of file zaber.py.
| None microscope.controllers.zaber._ZaberDeviceConnection.home | ( | self, | |
| int | axis = 0 ) |
| bool microscope.controllers.zaber._ZaberDeviceConnection.is_busy | ( | self | ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.lamp_off | ( | self, | |
| int | channel ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.lamp_on | ( | self, | |
| int | channel ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.move_by_relative_position | ( | self, | |
| int | axis, | ||
| int | position ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.move_to_absolute_position | ( | self, | |
| int | axis, | ||
| int | position ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.move_to_index | ( | self, | |
| int | axis, | ||
| int | index ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.set_lamp_flux | ( | self, | |
| int | channel, | ||
| float | flux ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.wait_until_idle | ( | self, | |
| float | timeout = 10.0 ) |
Wait, or error, until device is idle. A device is busy if *any* of its axis is busy.
Definition at line 212 of file zaber.py.
|
protected |
|
protected |