pigeon-tem-comms 0.4.1__py3-none-any.whl → 0.4.3__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/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 | None = None
8
- mag_mode: Literal["LM", "MAG1", "MAG2"] | None = None
9
- mag: int | None = None
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,6 @@ 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]
28
+ screen: Literal["up", "down"] | None
TEM_comms/ui.py CHANGED
@@ -40,3 +40,7 @@ class Setup(BaseMessage):
40
40
  lens_correction: bool = False
41
41
  acquire_brightfield: bool = False
42
42
  acquire_darkfield: bool = False
43
+ center_beam: bool = False
44
+ spread_beam: bool = False
45
+ find_aperture: bool = False
46
+ grid: Optional[int] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pigeon-tem-comms
3
- Version: 0.4.1
3
+ Version: 0.4.3
4
4
  Summary: Pigeon messages for the next generation TEM imaging system.
5
5
  Author-email: Cameron Devine <cameron.devine@alleninstitute.org>
6
6
  License: BSD 3 Clause
@@ -3,17 +3,17 @@ 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
5
  TEM_comms/qc.py,sha256=sujy2i0wimMvrHDPEXKdaiO7xxvRcHiy83mVpATLyqA,141
6
- TEM_comms/scope.py,sha256=CxpmTTBm6YMevPr3LeK9A7e8v5lGU6taG4e647asvak,503
7
- TEM_comms/ui.py,sha256=8a3GxCjw7E52WcAgDZLlQ7S4L92w5GuhJK2V_tEdSSA,1055
6
+ TEM_comms/scope.py,sha256=lPEKzWT2raR6ailiAitvWXH-Xu6fxWwYBf3GPfVIizc,761
7
+ TEM_comms/ui.py,sha256=obzIh4ByRrguJekWwTMnHZXC2h4AwB7JW2ZieBCGCxU,1178
8
8
  TEM_comms/stage/__init__.py,sha256=UVtYKzMBI01FUADS24xSItNIjhqdZtlDeJdqsDJNVIc,67
9
9
  TEM_comms/stage/aperture.py,sha256=LEIlUUbkUMAI-OYQnO4tqJTblCNPitwjcxSzZLFaliM,220
10
10
  TEM_comms/stage/motion.py,sha256=hhTXTX-ED8o76oDtjluGJOzLcWfDmG0LEAt44Pfk4gI,230
11
11
  TEM_comms/stage/rotation.py,sha256=J7tAIP2nskjInhZmdIbqwrvxTFXihEynVOAyxbDDfjU,262
12
12
  TEM_comms/tile/__init__.py,sha256=_AyiilFCIA7Z6R7K0tgpwordMMGY0Y6kX2R9snATgTE,496
13
13
  TEM_comms/tile/statistics.py,sha256=big7ydZe18RaT_B_sh1ust7MiGITOZ1aJdH7mY9T2BY,307
14
- pigeon_tem_comms-0.4.1.dist-info/LICENSE,sha256=tZfQIUX7uNGacTb751ZWInVenJl6OwYQihcGbYrKSts,1463
15
- pigeon_tem_comms-0.4.1.dist-info/METADATA,sha256=VGvmd0Np9lJGnailZMEDsS53DMd6D9m-mEkTgxGyJoQ,1553
16
- pigeon_tem_comms-0.4.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
17
- pigeon_tem_comms-0.4.1.dist-info/entry_points.txt,sha256=X2WfBCDgfH9XVVqiI4rLu7BLyMNuLW6WWckqXxfbrgk,38
18
- pigeon_tem_comms-0.4.1.dist-info/top_level.txt,sha256=3_1RcQ7xvS2dJEYnPIigo9snoKcSXSNJzPqunY0qydI,10
19
- pigeon_tem_comms-0.4.1.dist-info/RECORD,,
14
+ pigeon_tem_comms-0.4.3.dist-info/LICENSE,sha256=tZfQIUX7uNGacTb751ZWInVenJl6OwYQihcGbYrKSts,1463
15
+ pigeon_tem_comms-0.4.3.dist-info/METADATA,sha256=HUUm5leFrizwqWXGRCEta4q_sbFAOmt4ll30pgZvxF0,1553
16
+ pigeon_tem_comms-0.4.3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
17
+ pigeon_tem_comms-0.4.3.dist-info/entry_points.txt,sha256=X2WfBCDgfH9XVVqiI4rLu7BLyMNuLW6WWckqXxfbrgk,38
18
+ pigeon_tem_comms-0.4.3.dist-info/top_level.txt,sha256=3_1RcQ7xvS2dJEYnPIigo9snoKcSXSNJzPqunY0qydI,10
19
+ pigeon_tem_comms-0.4.3.dist-info/RECORD,,