zaber-motion 7.9.1__py3-none-win_amd64.whl → 7.10.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zaber_motion/library.py +1 -1
- zaber_motion/microscopy/autofocus.py +44 -0
- zaber_motion/version.py +1 -1
- {zaber_motion-7.9.1.dist-info → zaber_motion-7.10.0.dist-info}/METADATA +1 -1
- {zaber_motion-7.9.1.dist-info → zaber_motion-7.10.0.dist-info}/RECORD +9 -9
- zaber_motion_bindings/zaber-motion-core-windows-amd64.dll +0 -0
- {zaber_motion-7.9.1.dist-info → zaber_motion-7.10.0.dist-info}/LICENSE.txt +0 -0
- {zaber_motion-7.9.1.dist-info → zaber_motion-7.10.0.dist-info}/WHEEL +0 -0
- {zaber_motion-7.9.1.dist-info → zaber_motion-7.10.0.dist-info}/top_level.txt +0 -0
zaber_motion/library.py
CHANGED
|
@@ -175,6 +175,7 @@ class Autofocus:
|
|
|
175
175
|
Moves the focus axis continuously maintaining focus.
|
|
176
176
|
Starts the autofocus control loop.
|
|
177
177
|
Note that the control loop may stop if the autofocus comes out of range or a movement error occurs.
|
|
178
|
+
Use WaitUntilIdle of the focus axis to wait for the loop to stop and handle potential errors.
|
|
178
179
|
"""
|
|
179
180
|
request = dto.AutofocusFocusRequest(
|
|
180
181
|
provider_id=self.provider_id,
|
|
@@ -192,6 +193,7 @@ class Autofocus:
|
|
|
192
193
|
Moves the focus axis continuously maintaining focus.
|
|
193
194
|
Starts the autofocus control loop.
|
|
194
195
|
Note that the control loop may stop if the autofocus comes out of range or a movement error occurs.
|
|
196
|
+
Use WaitUntilIdle of the focus axis to wait for the loop to stop and handle potential errors.
|
|
195
197
|
"""
|
|
196
198
|
request = dto.AutofocusFocusRequest(
|
|
197
199
|
provider_id=self.provider_id,
|
|
@@ -234,6 +236,48 @@ class Autofocus:
|
|
|
234
236
|
)
|
|
235
237
|
await call_async("autofocus/stop_focus_loop", request)
|
|
236
238
|
|
|
239
|
+
def is_busy(
|
|
240
|
+
self
|
|
241
|
+
) -> bool:
|
|
242
|
+
"""
|
|
243
|
+
Returns bool indicating whether the focus axis is busy.
|
|
244
|
+
Can be used to determine if the focus loop is running.
|
|
245
|
+
|
|
246
|
+
Returns:
|
|
247
|
+
True if the axis is currently executing a motion command.
|
|
248
|
+
"""
|
|
249
|
+
request = dto.AxisEmptyRequest(
|
|
250
|
+
interface_id=self.focus_axis.device.connection.interface_id,
|
|
251
|
+
device=self.focus_axis.device.device_address,
|
|
252
|
+
axis=self.focus_axis.axis_number,
|
|
253
|
+
)
|
|
254
|
+
response = call(
|
|
255
|
+
"device/is_busy",
|
|
256
|
+
request,
|
|
257
|
+
dto.BoolResponse.from_binary)
|
|
258
|
+
return response.value
|
|
259
|
+
|
|
260
|
+
async def is_busy_async(
|
|
261
|
+
self
|
|
262
|
+
) -> bool:
|
|
263
|
+
"""
|
|
264
|
+
Returns bool indicating whether the focus axis is busy.
|
|
265
|
+
Can be used to determine if the focus loop is running.
|
|
266
|
+
|
|
267
|
+
Returns:
|
|
268
|
+
True if the axis is currently executing a motion command.
|
|
269
|
+
"""
|
|
270
|
+
request = dto.AxisEmptyRequest(
|
|
271
|
+
interface_id=self.focus_axis.device.connection.interface_id,
|
|
272
|
+
device=self.focus_axis.device.device_address,
|
|
273
|
+
axis=self.focus_axis.axis_number,
|
|
274
|
+
)
|
|
275
|
+
response = await call_async(
|
|
276
|
+
"device/is_busy",
|
|
277
|
+
request,
|
|
278
|
+
dto.BoolResponse.from_binary)
|
|
279
|
+
return response.value
|
|
280
|
+
|
|
237
281
|
def get_limit_min(
|
|
238
282
|
self,
|
|
239
283
|
unit: LengthUnits = Units.NATIVE
|
zaber_motion/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "7.
|
|
1
|
+
__version__ = "7.10.0"
|
|
@@ -9,13 +9,13 @@ zaber_motion/call.py,sha256=lH72duqcNvzh3Mae5JYZ5kIsyMRftSxSCgmWk9TjYik,5206
|
|
|
9
9
|
zaber_motion/convert_exception.py,sha256=TZrdGkmaTR7QOAwoxIQ9sOkHtuVg1bVs-sxbEDn22V8,8487
|
|
10
10
|
zaber_motion/dto_object.py,sha256=3gJU6AQCjiZcx2o7p2C9VTqw9apOM0i21ssmAM-VmEY,359
|
|
11
11
|
zaber_motion/events.py,sha256=3Ebp8zEjlRSjKG-b3WVrncZ6juHlKJTNeL-oeYIGpuk,3398
|
|
12
|
-
zaber_motion/library.py,sha256=
|
|
12
|
+
zaber_motion/library.py,sha256=Ie2Lw2I31RpH-FnVrTW0irQKRNI8OPR6nD1s8EuWpys,4935
|
|
13
13
|
zaber_motion/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
zaber_motion/serialization.py,sha256=Fm53Bd_oAZ7yaTjtBss23Dps3ynWv8wUJT5JVQyqKVs,987
|
|
15
15
|
zaber_motion/tools.py,sha256=O9IGJNGaaG7Sz2jGkexdJfgyJ5L4vsLXJKFUhZlKlCI,2213
|
|
16
16
|
zaber_motion/unit_table.py,sha256=FV-6VegAm499BJBJ4tdXgkP2Hl2h-fIlLJWkMrHlPAM,2497
|
|
17
17
|
zaber_motion/units.py,sha256=RCkeTZwhZFJg2hffBJFweAhDHLHZOkLUPel0e1Wzi3g,10853
|
|
18
|
-
zaber_motion/version.py,sha256=
|
|
18
|
+
zaber_motion/version.py,sha256=GHzDQ26ZrFjhBusV3W0P0PcmVjJ349q32G_UDe84Q6E,23
|
|
19
19
|
zaber_motion/ascii/__init__.py,sha256=hB91yrB-iTGuk270V97TQK09fMiMUwL3FEIKhLqMJfc,4848
|
|
20
20
|
zaber_motion/ascii/all_axes.py,sha256=ob_LjrgU9jNCW3t9k0U7QSa-92ap9HspmHCsv7dkzgI,10783
|
|
21
21
|
zaber_motion/ascii/axis.py,sha256=Ks5MGJRUeKIwyUZOQ-13-fWpjt3ZJu9oyoGNT2yEJSg,57618
|
|
@@ -469,7 +469,7 @@ zaber_motion/gcode/__init__.py,sha256=0HttpBgiGu028vwoLpyttuvDKAHZYy6kcNT2qDbJFN
|
|
|
469
469
|
zaber_motion/gcode/offline_translator.py,sha256=8UXBPkYnA5TH39nD5GnIXjL3E851Q8lUEPtoa5hgfwE,12118
|
|
470
470
|
zaber_motion/gcode/translator.py,sha256=-uxQVKcEFlySm7Mw3C53AFnd8tnAfE0XzexTfa0vh64,12835
|
|
471
471
|
zaber_motion/microscopy/__init__.py,sha256=uSXl3xMPYzKuBfyNXkMdBa4oLSUFjG09y98He68IgUs,1016
|
|
472
|
-
zaber_motion/microscopy/autofocus.py,sha256=
|
|
472
|
+
zaber_motion/microscopy/autofocus.py,sha256=0iwqZgQa_LZ-7brcf37RobCnM3t30ECMPKEqhLyGOtU,23715
|
|
473
473
|
zaber_motion/microscopy/camera_trigger.py,sha256=BIklwo0d7NL_CXb6P8w5ToEUBolQavbDNKCffLjJev0,3462
|
|
474
474
|
zaber_motion/microscopy/filter_changer.py,sha256=VRkLwKf1-TzrDtFR5BLi58pzFnSBej8bk6jy3-KcU64,4651
|
|
475
475
|
zaber_motion/microscopy/illuminator.py,sha256=778WTQ1HfZG2MiLVug8tv1ZipJBInlNl-LOp9d1WxS0,4151
|
|
@@ -480,9 +480,9 @@ zaber_motion/microscopy/wdi_autofocus_provider.py,sha256=V-cDWA9SJXQ1WRNCMT78VoM
|
|
|
480
480
|
zaber_motion/product/__init__.py,sha256=lno0C-gLBsHNPGnjp6bbXHX0cEk27cA8uFjq5vzmE9Q,531
|
|
481
481
|
zaber_motion/product/process.py,sha256=42wF55BvUcUY36_6HvpdWLC0b2ap6suoCItpR88pp14,27458
|
|
482
482
|
zaber_motion/product/process_controller.py,sha256=a5BM42BP82gcHtub98SkUsxsRoKByNbYmaBXzRYT1ao,4185
|
|
483
|
-
zaber_motion_bindings/zaber-motion-core-windows-amd64.dll,sha256=
|
|
484
|
-
zaber_motion-7.
|
|
485
|
-
zaber_motion-7.
|
|
486
|
-
zaber_motion-7.
|
|
487
|
-
zaber_motion-7.
|
|
488
|
-
zaber_motion-7.
|
|
483
|
+
zaber_motion_bindings/zaber-motion-core-windows-amd64.dll,sha256=toCJmmHEMBa4C9W_Yhq3qR93FnzmTGuhaMliKonEZJo,15440384
|
|
484
|
+
zaber_motion-7.10.0.dist-info/LICENSE.txt,sha256=xNj9QcKqsI3WK5EBPeYbQAiDcnVe4xmIpCy65NYNVhA,109244
|
|
485
|
+
zaber_motion-7.10.0.dist-info/METADATA,sha256=6XQsps36uMhEczmIqRjR1kt7Fydmv-AGa--pAP_7rrw,129816
|
|
486
|
+
zaber_motion-7.10.0.dist-info/WHEEL,sha256=EsfqhE0qd6WfVs85_gPJMVnnwjseveFUmeew0JBezok,97
|
|
487
|
+
zaber_motion-7.10.0.dist-info/top_level.txt,sha256=ypgkPvPad6Oge50CT6unnvxCEliKUB6olL6CUUER1SA,51
|
|
488
|
+
zaber_motion-7.10.0.dist-info/RECORD,,
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|