API Reference v9.1.0
ObjectiveChangerclass
Module: zaber_motion.microscopy
Represents an objective changer of a microscope. Unstable. Expect breaking changes in future releases.
Requires at least Firmware 7.32.
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)
objective_changer = microscope.objective_changerRelated Guides:
Index
pProperties
Constructor
Properties
p
p
Methods
m
objective_changer.change(objective, focus_offset = None)Changes the objective. Runs a sequence of movements switching from the current objective to the new one. The focus stage moves to the focus datum after the objective change.
Arguments
| Name | Type | Description |
|---|---|---|
| objective | int | Objective number starting from 1. |
| focus_offset | Optional[Measurement] | Optional offset from the focus datum. |
m
m
objective_changer.get_focus_datum(unit = Units.NATIVE)Gets the focus datum. The focus datum is the position that the focus stage moves to after an objective change. It is backed by the limit.home.offset setting.
Arguments
| Name | Type | Description |
|---|---|---|
| unit | LengthUnits | Units of datum. |
Return Value
float The datum.m
m
m
objective_changer.set_focus_datum(datum, unit = Units.NATIVE)Sets the focus datum. The focus datum is the position that the focus stage moves to after an objective change. It is backed by the limit.home.offset setting.
Arguments
| Name | Type | Description |
|---|---|---|
| datum | float | Value of datum. |
| unit | LengthUnits | Units of datum. |