pigeon-tem-comms 0.4.0__py3-none-any.whl → 0.4.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 +2 -0
- TEM_comms/qc.py +6 -0
- TEM_comms/scope.py +9 -4
- {pigeon_tem_comms-0.4.0.dist-info → pigeon_tem_comms-0.4.2.dist-info}/METADATA +1 -1
- {pigeon_tem_comms-0.4.0.dist-info → pigeon_tem_comms-0.4.2.dist-info}/RECORD +9 -8
- {pigeon_tem_comms-0.4.0.dist-info → pigeon_tem_comms-0.4.2.dist-info}/LICENSE +0 -0
- {pigeon_tem_comms-0.4.0.dist-info → pigeon_tem_comms-0.4.2.dist-info}/WHEEL +0 -0
- {pigeon_tem_comms-0.4.0.dist-info → pigeon_tem_comms-0.4.2.dist-info}/entry_points.txt +0 -0
- {pigeon_tem_comms-0.4.0.dist-info → pigeon_tem_comms-0.4.2.dist-info}/top_level.txt +0 -0
TEM_comms/__init__.py
CHANGED
|
@@ -5,6 +5,7 @@ from . import stage
|
|
|
5
5
|
from . import tile
|
|
6
6
|
from . import ui
|
|
7
7
|
from . import montage
|
|
8
|
+
from . import qc
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
topics = {
|
|
@@ -34,4 +35,5 @@ topics = {
|
|
|
34
35
|
"ui.setup": ui.Setup,
|
|
35
36
|
"montage.start": montage.Start,
|
|
36
37
|
"montage.finished": montage.Finished,
|
|
38
|
+
"qc.status": qc.Status,
|
|
37
39
|
}
|
TEM_comms/qc.py
ADDED
TEM_comms/scope.py
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
from pigeon import BaseMessage
|
|
2
|
-
from typing import Literal
|
|
2
|
+
from typing import Literal, Optional, Tuple
|
|
3
3
|
from pydantic import model_validator
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class Command(BaseMessage):
|
|
7
|
-
focus: int
|
|
8
|
-
mag_mode: Literal["LM", "MAG1", "MAG2"]
|
|
9
|
-
mag: int
|
|
7
|
+
focus: Optional[int] = None
|
|
8
|
+
mag_mode: Optional[Literal["LM", "MAG1", "MAG2"]] = None
|
|
9
|
+
mag: Optional[int] = None
|
|
10
|
+
brightness: Optional[int] = None
|
|
11
|
+
beam_offset: Optional[Tuple[int, int]] = None
|
|
12
|
+
screen: Optional[Literal["up", "down"]] = None
|
|
10
13
|
|
|
11
14
|
@model_validator(mode="after")
|
|
12
15
|
def check_mag(self):
|
|
@@ -20,3 +23,5 @@ class Status(BaseMessage):
|
|
|
20
23
|
mag_mode: str
|
|
21
24
|
mag: int
|
|
22
25
|
tank_voltage: int
|
|
26
|
+
brightness: int
|
|
27
|
+
beam_offset: Tuple[int, int]
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
TEM_comms/__init__.py,sha256=
|
|
1
|
+
TEM_comms/__init__.py,sha256=BugKdjbBbACD5-Tmr2wpchefLrkAeQEtSxHCpsmsP20,1254
|
|
2
2
|
TEM_comms/buffer.py,sha256=Jr6fUIbUPreQSSGKWR7jkA1McyZZv3lVE8uQSER8VL4,123
|
|
3
3
|
TEM_comms/camera.py,sha256=L9ebaZra-M3g571PUzQCAuC92Auw4ox3gRceJ2uKRhs,522
|
|
4
4
|
TEM_comms/montage.py,sha256=PCfve__0M3S2RSmBtrDRlDlmIW_qJffDRE8gnlEHoxY,281
|
|
5
|
-
TEM_comms/
|
|
5
|
+
TEM_comms/qc.py,sha256=sujy2i0wimMvrHDPEXKdaiO7xxvRcHiy83mVpATLyqA,141
|
|
6
|
+
TEM_comms/scope.py,sha256=fNWZtd96ebT7gFsHNH78Bo3V5ViEIZSMN7FtRUgF-WM,720
|
|
6
7
|
TEM_comms/ui.py,sha256=8a3GxCjw7E52WcAgDZLlQ7S4L92w5GuhJK2V_tEdSSA,1055
|
|
7
8
|
TEM_comms/stage/__init__.py,sha256=UVtYKzMBI01FUADS24xSItNIjhqdZtlDeJdqsDJNVIc,67
|
|
8
9
|
TEM_comms/stage/aperture.py,sha256=LEIlUUbkUMAI-OYQnO4tqJTblCNPitwjcxSzZLFaliM,220
|
|
@@ -10,9 +11,9 @@ TEM_comms/stage/motion.py,sha256=hhTXTX-ED8o76oDtjluGJOzLcWfDmG0LEAt44Pfk4gI,230
|
|
|
10
11
|
TEM_comms/stage/rotation.py,sha256=J7tAIP2nskjInhZmdIbqwrvxTFXihEynVOAyxbDDfjU,262
|
|
11
12
|
TEM_comms/tile/__init__.py,sha256=_AyiilFCIA7Z6R7K0tgpwordMMGY0Y6kX2R9snATgTE,496
|
|
12
13
|
TEM_comms/tile/statistics.py,sha256=big7ydZe18RaT_B_sh1ust7MiGITOZ1aJdH7mY9T2BY,307
|
|
13
|
-
pigeon_tem_comms-0.4.
|
|
14
|
-
pigeon_tem_comms-0.4.
|
|
15
|
-
pigeon_tem_comms-0.4.
|
|
16
|
-
pigeon_tem_comms-0.4.
|
|
17
|
-
pigeon_tem_comms-0.4.
|
|
18
|
-
pigeon_tem_comms-0.4.
|
|
14
|
+
pigeon_tem_comms-0.4.2.dist-info/LICENSE,sha256=tZfQIUX7uNGacTb751ZWInVenJl6OwYQihcGbYrKSts,1463
|
|
15
|
+
pigeon_tem_comms-0.4.2.dist-info/METADATA,sha256=LG4W3PyHLx1fY8JiBlQhsQhLPYPHjcAtRdPA-CqSuvU,1553
|
|
16
|
+
pigeon_tem_comms-0.4.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
17
|
+
pigeon_tem_comms-0.4.2.dist-info/entry_points.txt,sha256=X2WfBCDgfH9XVVqiI4rLu7BLyMNuLW6WWckqXxfbrgk,38
|
|
18
|
+
pigeon_tem_comms-0.4.2.dist-info/top_level.txt,sha256=3_1RcQ7xvS2dJEYnPIigo9snoKcSXSNJzPqunY0qydI,10
|
|
19
|
+
pigeon_tem_comms-0.4.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|