zaber-motion 7.12.0__py3-none-win_arm64.whl → 7.13.0__py3-none-win_arm64.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/ascii/axis.py +7 -0
- zaber_motion/dto/ascii/axis_identity.py +17 -0
- zaber_motion/dto/ascii/simple_tuning.py +1 -1
- zaber_motion/library.py +1 -1
- zaber_motion/version.py +1 -1
- {zaber_motion-7.12.0.dist-info → zaber_motion-7.13.0.dist-info}/METADATA +1 -1
- {zaber_motion-7.12.0.dist-info → zaber_motion-7.13.0.dist-info}/RECORD +11 -11
- zaber_motion_bindings/zaber-motion-core-windows-arm64.dll +0 -0
- {zaber_motion-7.12.0.dist-info → zaber_motion-7.13.0.dist-info}/WHEEL +0 -0
- {zaber_motion-7.12.0.dist-info → zaber_motion-7.13.0.dist-info}/licenses/LICENSE.txt +0 -0
- {zaber_motion-7.12.0.dist-info → zaber_motion-7.13.0.dist-info}/top_level.txt +0 -0
zaber_motion/ascii/axis.py
CHANGED
|
@@ -104,6 +104,13 @@ class Axis:
|
|
|
104
104
|
"""
|
|
105
105
|
return self.identity.axis_type
|
|
106
106
|
|
|
107
|
+
@property
|
|
108
|
+
def resolution(self) -> int:
|
|
109
|
+
"""
|
|
110
|
+
The number of microsteps per full step for motion axes. Always equal to 0 for non-motion axes.
|
|
111
|
+
"""
|
|
112
|
+
return self.identity.resolution
|
|
113
|
+
|
|
107
114
|
@property
|
|
108
115
|
def label(self) -> str:
|
|
109
116
|
"""
|
|
@@ -43,6 +43,11 @@ class AxisIdentity:
|
|
|
43
43
|
The peripheral has hardware modifications.
|
|
44
44
|
"""
|
|
45
45
|
|
|
46
|
+
resolution: int
|
|
47
|
+
"""
|
|
48
|
+
The number of microsteps per full step for motion axes. Always equal to 0 for non-motion axes.
|
|
49
|
+
"""
|
|
50
|
+
|
|
46
51
|
@staticmethod
|
|
47
52
|
def zero_values() -> 'AxisIdentity':
|
|
48
53
|
return AxisIdentity(
|
|
@@ -52,6 +57,7 @@ class AxisIdentity:
|
|
|
52
57
|
is_peripheral=False,
|
|
53
58
|
axis_type=next(first for first in AxisType),
|
|
54
59
|
is_modified=False,
|
|
60
|
+
resolution=0,
|
|
55
61
|
)
|
|
56
62
|
|
|
57
63
|
@staticmethod
|
|
@@ -73,6 +79,7 @@ class AxisIdentity:
|
|
|
73
79
|
'isPeripheral': bool(self.is_peripheral),
|
|
74
80
|
'axisType': self.axis_type.value,
|
|
75
81
|
'isModified': bool(self.is_modified),
|
|
82
|
+
'resolution': int(self.resolution),
|
|
76
83
|
}
|
|
77
84
|
|
|
78
85
|
@staticmethod
|
|
@@ -84,6 +91,7 @@ class AxisIdentity:
|
|
|
84
91
|
is_peripheral=data.get('isPeripheral'), # type: ignore
|
|
85
92
|
axis_type=AxisType(data.get('axisType')), # type: ignore
|
|
86
93
|
is_modified=data.get('isModified'), # type: ignore
|
|
94
|
+
resolution=data.get('resolution'), # type: ignore
|
|
87
95
|
)
|
|
88
96
|
|
|
89
97
|
def validate(self) -> None:
|
|
@@ -115,3 +123,12 @@ class AxisIdentity:
|
|
|
115
123
|
|
|
116
124
|
if not isinstance(self.axis_type, AxisType):
|
|
117
125
|
raise ValueError(f'Property "AxisType" of "AxisIdentity" is not an instance of "AxisType".')
|
|
126
|
+
|
|
127
|
+
if self.resolution is None:
|
|
128
|
+
raise ValueError(f'Property "Resolution" of "AxisIdentity" is None.')
|
|
129
|
+
|
|
130
|
+
if not isinstance(self.resolution, (int, float, decimal.Decimal)):
|
|
131
|
+
raise ValueError(f'Property "Resolution" of "AxisIdentity" is not a number.')
|
|
132
|
+
|
|
133
|
+
if int(self.resolution) != self.resolution:
|
|
134
|
+
raise ValueError(f'Property "Resolution" of "AxisIdentity" is not integer value.')
|
zaber_motion/library.py
CHANGED
zaber_motion/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "7.
|
|
1
|
+
__version__ = "7.13.0"
|
|
@@ -9,16 +9,16 @@ zaber_motion/call.py,sha256=X8iXJdlO1AvnMeDFmKXEPY8UFQWn8EXZmoXzcWO_ihc,5404
|
|
|
9
9
|
zaber_motion/convert_exception.py,sha256=0ANPUmugxDvCGMURPN8Lqyi-3cU80L323xrsF19wbIk,8625
|
|
10
10
|
zaber_motion/dto_object.py,sha256=TrwKMn_dbeh4DnCToS507G5eRJiW0_ZcGj9Q5RaSjqY,377
|
|
11
11
|
zaber_motion/events.py,sha256=8UB_4SZz3HDb8VqborlHQGt7w0Nd11rEYblbVQxyckE,3510
|
|
12
|
-
zaber_motion/library.py,sha256=
|
|
12
|
+
zaber_motion/library.py,sha256=8LV3NCIBOAsVtqGWCfgUc-sT4ykPHTYMdUHxnpD-5rQ,5676
|
|
13
13
|
zaber_motion/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
zaber_motion/serialization.py,sha256=0yLY0dA7XRjMAlI-wr92arZ6yRO97CyC_Rzc9BBHJRk,1019
|
|
15
15
|
zaber_motion/tools.py,sha256=ZI8xYDa6SFlMghP2qklV73Z0TJcezC6trdAAXVI6PoM,2291
|
|
16
16
|
zaber_motion/unit_table.py,sha256=DtphJjbzD1LSHpd4-idwIE2Dif89L7RrmeQI3LkOp40,2583
|
|
17
17
|
zaber_motion/units.py,sha256=h1sEuCQR0q8SeCdWd2V8X62VZJBxMda9Kef724f6yc0,11059
|
|
18
|
-
zaber_motion/version.py,sha256=
|
|
18
|
+
zaber_motion/version.py,sha256=41zeCuBAIF8TqzR4oCX2EP4SivZ4_iD60dKZP5kakbQ,24
|
|
19
19
|
zaber_motion/ascii/__init__.py,sha256=9RFjxHOckdwD6DlAvmVfpWhR1U9-lWyU1t3EE0C2Glc,4921
|
|
20
20
|
zaber_motion/ascii/all_axes.py,sha256=-g226GCRClqolpwZSYQj_ohuVfyBf6YPNSt3BxXxme4,11145
|
|
21
|
-
zaber_motion/ascii/axis.py,sha256=
|
|
21
|
+
zaber_motion/ascii/axis.py,sha256=6J1IjouSoZOFsVaTVfMj6GQKL9OGqPeb9w-NUY_IEe0,59558
|
|
22
22
|
zaber_motion/ascii/axis_group.py,sha256=YqaiAoj2r0v_TdRrlVSB8ayyYdrHWGnCAKtbApCKCd8,13330
|
|
23
23
|
zaber_motion/ascii/axis_settings.py,sha256=m27Tech_tQmyTyPb3TBQ0XifMLJgmjwzh_blr3S75DM,24253
|
|
24
24
|
zaber_motion/ascii/connection.py,sha256=ZP7AEA_6qUU6cteI5Yft45BOAGhM--OvNAGOsCSgewo,39671
|
|
@@ -60,7 +60,7 @@ zaber_motion/dto/named_parameter.py,sha256=VKMsS_9ZUGC4jlW4aZTWFnUwwwwJEhGrt3dyC
|
|
|
60
60
|
zaber_motion/dto/rotation_direction.py,sha256=bDo-s0HuUuUx75u-gJtKhWSKxQNkIOmMgOcGZJQOaYQ,227
|
|
61
61
|
zaber_motion/dto/ascii/__init__.py,sha256=OVc6bSEENeMd_eUjBgLd2hq_zIUkoXrbRDesz8Ywl9k,3094
|
|
62
62
|
zaber_motion/dto/ascii/alert_event.py,sha256=-h1brDrknSwsSFuAxj476X7c884A0by9dpEWp0jvKQc,3944
|
|
63
|
-
zaber_motion/dto/ascii/axis_identity.py,sha256=
|
|
63
|
+
zaber_motion/dto/ascii/axis_identity.py,sha256=2NvpHVB3UCCv7ccAVAO_6rpSAvka1gjDWL3JvI4jkDM,5108
|
|
64
64
|
zaber_motion/dto/ascii/axis_type.py,sha256=x5nca2ryMrhxY3s5KDAemIVRgp6KPRh9qoIEPRLjCDE,251
|
|
65
65
|
zaber_motion/dto/ascii/can_set_state_axis_response.py,sha256=zw12la7_4cwkN4Wn5bQqQjXw_dlFeOW11s5hm8k9chw,2575
|
|
66
66
|
zaber_motion/dto/ascii/can_set_state_device_response.py,sha256=BbC9HmmtWLsyQ3ZlQCwkxSXUZ2eitmJx60DahFANcSk,3217
|
|
@@ -92,7 +92,7 @@ zaber_motion/dto/ascii/servo_tuning_param.py,sha256=yrlP8qNiWu9dqvbC_hhMrKDIhfhO
|
|
|
92
92
|
zaber_motion/dto/ascii/servo_tuning_paramset.py,sha256=z-Fnna0cExNBdO_1DDCykooGhQhZgq6cZrvYx9YnhHE,341
|
|
93
93
|
zaber_motion/dto/ascii/set_state_axis_response.py,sha256=ApXt4MwMPzHUegNxR7YnyX6aPP4aBb0Cy1kTYoSFYWo,2895
|
|
94
94
|
zaber_motion/dto/ascii/set_state_device_response.py,sha256=mMvohKe8urbJN2qaA4LXB7--aVkBLuZddX02i-3VRCg,3471
|
|
95
|
-
zaber_motion/dto/ascii/simple_tuning.py,sha256=
|
|
95
|
+
zaber_motion/dto/ascii/simple_tuning.py,sha256=WBAUPzlcdcyGwSfEQpSiYfyuXD7A_yt69PaukhcBPx8,4578
|
|
96
96
|
zaber_motion/dto/ascii/simple_tuning_param_definition.py,sha256=eGuaK2vstxa9AdZOxUlX25vjVRDjASycIlEa71s0HAc,3671
|
|
97
97
|
zaber_motion/dto/ascii/stream_axis_definition.py,sha256=CHvqh8CcIiYookl99211eUR8ljtAAxB3Gfgcg50TdwY,2621
|
|
98
98
|
zaber_motion/dto/ascii/stream_axis_type.py,sha256=kfxdzwmx-T5bHRIm84Og_LqgvUO-db_sWHYWjEiRjlQ,200
|
|
@@ -486,9 +486,9 @@ zaber_motion/microscopy/wdi_autofocus_provider.py,sha256=YF1AKSr4RNnDs2xGb3J67Cp
|
|
|
486
486
|
zaber_motion/product/__init__.py,sha256=ZGZzfMmsd1ZWwLk0SZ3Ac1Une88SZQHuuzEFGgd6ork,538
|
|
487
487
|
zaber_motion/product/process.py,sha256=o5GoKjC7eTVwTrfeugqvfTmg-UARhyTTbDDmoGCQ8Q8,28345
|
|
488
488
|
zaber_motion/product/process_controller.py,sha256=GVYMALlFWEcvLipPk1GF-M7LcoKfCf5_YqFMeFseCpg,4327
|
|
489
|
-
zaber_motion-7.
|
|
490
|
-
zaber_motion_bindings/zaber-motion-core-windows-arm64.dll,sha256=
|
|
491
|
-
zaber_motion-7.
|
|
492
|
-
zaber_motion-7.
|
|
493
|
-
zaber_motion-7.
|
|
494
|
-
zaber_motion-7.
|
|
489
|
+
zaber_motion-7.13.0.dist-info/licenses/LICENSE.txt,sha256=H7YIgjgmcE_L-pfvZTWUoLrk7p0LiiKQh5_oeIWux-k,111363
|
|
490
|
+
zaber_motion_bindings/zaber-motion-core-windows-arm64.dll,sha256=zl0ZkI8-5Dj5JLJ9AdrNNztNrGeOF56anBfnh6iyhec,14782976
|
|
491
|
+
zaber_motion-7.13.0.dist-info/METADATA,sha256=RbiincyD3IrJaMA7W8DPXOfP8MwDUoQ5Ct19tBb8Few,129839
|
|
492
|
+
zaber_motion-7.13.0.dist-info/WHEEL,sha256=PtZ7_1TP6Cu1E5x_voSGj5l6q0pu2rBD8e6tfv65a50,97
|
|
493
|
+
zaber_motion-7.13.0.dist-info/top_level.txt,sha256=ypgkPvPad6Oge50CT6unnvxCEliKUB6olL6CUUER1SA,51
|
|
494
|
+
zaber_motion-7.13.0.dist-info/RECORD,,
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|