API Reference v9.1.0
Microscopeclass
Module: zaber_motion.microscopy
Represent a microscope. Parts of the microscope may or may not be instantiated depending on the configuration.
Requires at least Firmware 7.34.
The following example illustrates how you can obtain an instance of this type:
from zaber_motion.ascii import Connection
from zaber_motion.microscopy import Microscope
connection = Connection.open_serial_port('COM3')
microscope = Microscope.find(connection)Related Guides:
Index
pProperties
Constructor
Microscope(connection, config)Creates instance of `Microscope` from the given config. Parts are instantiated depending on device addresses in the config.
Arguments
| Name | Type | Description |
|---|---|---|
| connection | Connection | Connection of the microscope. |
| config | MicroscopeConfig | The configuration. The parts of the microscope are instantiated depending on the specified data. |
Properties
p
p
p
p
p
p
p
microscope.objective_changerOptional[ObjectiveChanger] The objective changer.p
microscope.plateOptional[AxisGroup] Axis group consisting of X and Y axes representing the plate of the microscope.p
p
Methods
s
Microscope.find(connection, third_party_components = None)Finds a microscope on a connection.
Arguments
| Name | Type | Description |
|---|---|---|
| connection | Connection | Connection on which to detect the microscope. |
| third_party_components | Optional[ThirdPartyComponents] | Third party components of the microscope that cannot be found on the connection. |
Return Value
Microscope New instance of microscope.m
m