pigeon-tem-comms 1.1.0__py3-none-any.whl → 1.1.2__py3-none-any.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.
- TEM_comms/__init__.py +1 -2
- TEM_comms/camera.py +1 -0
- TEM_comms/montage.py +9 -11
- TEM_comms/scope.py +2 -0
- TEM_comms/stage/motion.py +3 -2
- TEM_comms/tile/statistics.py +1 -0
- {pigeon_tem_comms-1.1.0.dist-info → pigeon_tem_comms-1.1.2.dist-info}/METADATA +1 -1
- pigeon_tem_comms-1.1.2.dist-info/RECORD +21 -0
- {pigeon_tem_comms-1.1.0.dist-info → pigeon_tem_comms-1.1.2.dist-info}/WHEEL +1 -1
- pigeon_tem_comms-1.1.0.dist-info/RECORD +0 -21
- {pigeon_tem_comms-1.1.0.dist-info → pigeon_tem_comms-1.1.2.dist-info}/entry_points.txt +0 -0
- {pigeon_tem_comms-1.1.0.dist-info → pigeon_tem_comms-1.1.2.dist-info}/licenses/LICENSE +0 -0
- {pigeon_tem_comms-1.1.0.dist-info → pigeon_tem_comms-1.1.2.dist-info}/top_level.txt +0 -0
TEM_comms/__init__.py
CHANGED
|
@@ -26,8 +26,7 @@ topics = {
|
|
|
26
26
|
"ui.edit": ui.Edit,
|
|
27
27
|
"ui.run": ui.Run,
|
|
28
28
|
"ui.setup": ui.Setup,
|
|
29
|
-
"montage.
|
|
30
|
-
"montage.finished": montage.Finished,
|
|
29
|
+
"montage.complete": montage.Complete,
|
|
31
30
|
"qc.status": qc.Status,
|
|
32
31
|
"roi.load": roi.LoadROI,
|
|
33
32
|
"roi.create": roi.CreateROI,
|
TEM_comms/camera.py
CHANGED
TEM_comms/montage.py
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
from pigeon import BaseMessage
|
|
2
|
-
from typing import Mapping, List, Any, Optional
|
|
2
|
+
from typing import Mapping, List, Any, Optional, Tuple
|
|
3
|
+
from datetime import datetime
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
class
|
|
6
|
+
class Complete(BaseMessage):
|
|
6
7
|
montage_id: str
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
roi: str
|
|
14
|
-
specimen: str
|
|
15
|
-
metadata: Mapping[str, Any] | List[Any]
|
|
8
|
+
tile_ids: List[str]
|
|
9
|
+
acquisition_id: str
|
|
10
|
+
start_time: datetime
|
|
11
|
+
pixel_size: float
|
|
12
|
+
rotation_angle: float
|
|
13
|
+
aperture_centroid: Tuple[int, int]
|
|
16
14
|
|
|
17
15
|
|
|
18
16
|
class Minimap(BaseMessage):
|
TEM_comms/scope.py
CHANGED
|
@@ -9,6 +9,7 @@ class Command(BaseMessage):
|
|
|
9
9
|
mag: Optional[int] = None
|
|
10
10
|
brightness: Optional[int] = None
|
|
11
11
|
beam_offset: Optional[Tuple[int, int]] = None
|
|
12
|
+
spot_size: Optional[int] = None
|
|
12
13
|
screen: Optional[Literal["up", "down"]] = None
|
|
13
14
|
|
|
14
15
|
@model_validator(mode="after")
|
|
@@ -25,4 +26,5 @@ class Status(BaseMessage):
|
|
|
25
26
|
tank_voltage: int
|
|
26
27
|
brightness: int
|
|
27
28
|
beam_offset: Tuple[int, int]
|
|
29
|
+
spot_size: int
|
|
28
30
|
screen: Literal["up", "down"] | None
|
TEM_comms/stage/motion.py
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
from typing import Optional
|
|
1
2
|
from pigeon import BaseMessage
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
class Command(BaseMessage):
|
|
5
6
|
x: int | None = None
|
|
6
7
|
y: int | None = None
|
|
7
|
-
z: int
|
|
8
|
+
z: Optional[int] = None
|
|
8
9
|
calibrate: bool = False
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
class Status(BaseMessage):
|
|
12
13
|
x: int | None
|
|
13
14
|
y: int | None
|
|
14
|
-
z: int
|
|
15
|
+
z: Optional[int] = None
|
|
15
16
|
in_motion: bool
|
|
16
17
|
error: str = ""
|
TEM_comms/tile/statistics.py
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
TEM_comms/__init__.py,sha256=lP9VixOSpFW0h0kPq-z-pUOpD53RBat6_G3ZrFyUuqI,1264
|
|
2
|
+
TEM_comms/buffer.py,sha256=Jr6fUIbUPreQSSGKWR7jkA1McyZZv3lVE8uQSER8VL4,123
|
|
3
|
+
TEM_comms/camera.py,sha256=xzym-PLP3SWHWVqNaDSDo4uYG8TvshBAugW7FdJEWEc,692
|
|
4
|
+
TEM_comms/montage.py,sha256=NmY8RGvArMwK-Qgmrc_IPzgOc3_m51YuNIUzntd62vc,541
|
|
5
|
+
TEM_comms/qc.py,sha256=sujy2i0wimMvrHDPEXKdaiO7xxvRcHiy83mVpATLyqA,141
|
|
6
|
+
TEM_comms/roi.py,sha256=37fKMT-KNJfWOwWvFAPTFHuBzkV1h6RS42kQsU00teQ,1145
|
|
7
|
+
TEM_comms/scope.py,sha256=EfsOaEWfzT_UhYLRAYE733RoRyQQmNQc1Kz90gYLiqs,816
|
|
8
|
+
TEM_comms/ui.py,sha256=Yxd0i4wjmddDl9sVzcFHHu5b6n0ICzaO0b_8SmAysxg,1459
|
|
9
|
+
TEM_comms/stage/__init__.py,sha256=UVtYKzMBI01FUADS24xSItNIjhqdZtlDeJdqsDJNVIc,67
|
|
10
|
+
TEM_comms/stage/aperture.py,sha256=lyJO34_K76MKrZ-o2izd5V7eEN55d3lGu__RvZq-NlA,227
|
|
11
|
+
TEM_comms/stage/motion.py,sha256=0QnMOgVB8THQEims4Nc5ZxonqIH-XRjrw9F7p30Ex9k,328
|
|
12
|
+
TEM_comms/stage/rotation.py,sha256=tUcf6IpQ2ooRDYb51Zb4pi7pQUrBuLPiLKSg8Ebb2DY,332
|
|
13
|
+
TEM_comms/tile/__init__.py,sha256=ID3b4VAHqVXAkxTYOZ7H2oTSrnVdUYt4Xb6gpQ0I3qo,316
|
|
14
|
+
TEM_comms/tile/metadata.py,sha256=pUxmi_C02e5nwTm51rIULkKaRz6ij5mlXylzAcDU-9c,149
|
|
15
|
+
TEM_comms/tile/statistics.py,sha256=C1pMEOjwVrhjGR6R7efKJE-pR_tw9ZAGrprLIHcXc_A,245
|
|
16
|
+
pigeon_tem_comms-1.1.2.dist-info/licenses/LICENSE,sha256=tZfQIUX7uNGacTb751ZWInVenJl6OwYQihcGbYrKSts,1463
|
|
17
|
+
pigeon_tem_comms-1.1.2.dist-info/METADATA,sha256=lUbcoZ-2bosXJ0h3WC-Rcrvhd8b3LYbx39IOzuRugdU,1575
|
|
18
|
+
pigeon_tem_comms-1.1.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
19
|
+
pigeon_tem_comms-1.1.2.dist-info/entry_points.txt,sha256=X2WfBCDgfH9XVVqiI4rLu7BLyMNuLW6WWckqXxfbrgk,38
|
|
20
|
+
pigeon_tem_comms-1.1.2.dist-info/top_level.txt,sha256=3_1RcQ7xvS2dJEYnPIigo9snoKcSXSNJzPqunY0qydI,10
|
|
21
|
+
pigeon_tem_comms-1.1.2.dist-info/RECORD,,
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
TEM_comms/__init__.py,sha256=ujCgc64ihXYl3uvwxW6zfQGIAxiMBoV-betCiMMBuCQ,1300
|
|
2
|
-
TEM_comms/buffer.py,sha256=Jr6fUIbUPreQSSGKWR7jkA1McyZZv3lVE8uQSER8VL4,123
|
|
3
|
-
TEM_comms/camera.py,sha256=cqaMJBKMYZ6GI6EMk2_T7rXA9-nLAp2lon0nRnPeHRk,673
|
|
4
|
-
TEM_comms/montage.py,sha256=H4bpqSfJLroR3WBoSY2KdPrE8A2WXrDgzp0wAA0M0oE,505
|
|
5
|
-
TEM_comms/qc.py,sha256=sujy2i0wimMvrHDPEXKdaiO7xxvRcHiy83mVpATLyqA,141
|
|
6
|
-
TEM_comms/roi.py,sha256=37fKMT-KNJfWOwWvFAPTFHuBzkV1h6RS42kQsU00teQ,1145
|
|
7
|
-
TEM_comms/scope.py,sha256=lPEKzWT2raR6ailiAitvWXH-Xu6fxWwYBf3GPfVIizc,761
|
|
8
|
-
TEM_comms/ui.py,sha256=Yxd0i4wjmddDl9sVzcFHHu5b6n0ICzaO0b_8SmAysxg,1459
|
|
9
|
-
TEM_comms/stage/__init__.py,sha256=UVtYKzMBI01FUADS24xSItNIjhqdZtlDeJdqsDJNVIc,67
|
|
10
|
-
TEM_comms/stage/aperture.py,sha256=lyJO34_K76MKrZ-o2izd5V7eEN55d3lGu__RvZq-NlA,227
|
|
11
|
-
TEM_comms/stage/motion.py,sha256=CqP-BS7mRP5Z9VkFT9-ePiICg6HQiviUubaO1qSioxo,287
|
|
12
|
-
TEM_comms/stage/rotation.py,sha256=tUcf6IpQ2ooRDYb51Zb4pi7pQUrBuLPiLKSg8Ebb2DY,332
|
|
13
|
-
TEM_comms/tile/__init__.py,sha256=ID3b4VAHqVXAkxTYOZ7H2oTSrnVdUYt4Xb6gpQ0I3qo,316
|
|
14
|
-
TEM_comms/tile/metadata.py,sha256=pUxmi_C02e5nwTm51rIULkKaRz6ij5mlXylzAcDU-9c,149
|
|
15
|
-
TEM_comms/tile/statistics.py,sha256=ij0ggk15J_jikIkuSDmhvY96yjliofFRN5SNdsGA0lA,232
|
|
16
|
-
pigeon_tem_comms-1.1.0.dist-info/licenses/LICENSE,sha256=tZfQIUX7uNGacTb751ZWInVenJl6OwYQihcGbYrKSts,1463
|
|
17
|
-
pigeon_tem_comms-1.1.0.dist-info/METADATA,sha256=5cQ5-0s4L3PcSpbbam7D3m1ks-6lFFoL37G_V8ZlgWU,1575
|
|
18
|
-
pigeon_tem_comms-1.1.0.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
19
|
-
pigeon_tem_comms-1.1.0.dist-info/entry_points.txt,sha256=X2WfBCDgfH9XVVqiI4rLu7BLyMNuLW6WWckqXxfbrgk,38
|
|
20
|
-
pigeon_tem_comms-1.1.0.dist-info/top_level.txt,sha256=3_1RcQ7xvS2dJEYnPIigo9snoKcSXSNJzPqunY0qydI,10
|
|
21
|
-
pigeon_tem_comms-1.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|