pigeon-tem-comms 0.4.1__tar.gz → 0.4.2__tar.gz
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.
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/PKG-INFO +1 -1
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/scope.py +9 -4
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/PKG-INFO +1 -1
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pyproject.toml +1 -1
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/LICENSE +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/README.md +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/__init__.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/buffer.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/camera.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/montage.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/qc.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/stage/__init__.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/stage/aperture.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/stage/motion.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/stage/rotation.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/tile/__init__.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/tile/statistics.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/ui.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/SOURCES.txt +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/dependency_links.txt +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/entry_points.txt +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/requires.txt +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/top_level.txt +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/setup.cfg +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/tests/test_buffer.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/tests/test_qc.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/tests/test_scope_command.py +0 -0
- {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/tests/test_ui.py +0 -0
|
@@ -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]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|