pigeon-tem-comms 0.2.0__py3-none-any.whl → 0.3.0__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/camera.py +8 -1
- TEM_comms/scope.py +2 -1
- TEM_comms/stage/__init__.py +1 -1
- TEM_comms/stage/aperture.py +3 -1
- TEM_comms/stage/motion.py +3 -1
- TEM_comms/stage/rotation.py +3 -1
- TEM_comms/tile/statistics.py +4 -1
- {pigeon_tem_comms-0.2.0.dist-info → pigeon_tem_comms-0.3.0.dist-info}/METADATA +1 -1
- pigeon_tem_comms-0.3.0.dist-info/RECORD +17 -0
- {pigeon_tem_comms-0.2.0.dist-info → pigeon_tem_comms-0.3.0.dist-info}/WHEEL +1 -1
- pigeon_tem_comms-0.2.0.dist-info/RECORD +0 -17
- {pigeon_tem_comms-0.2.0.dist-info → pigeon_tem_comms-0.3.0.dist-info}/LICENSE +0 -0
- {pigeon_tem_comms-0.2.0.dist-info → pigeon_tem_comms-0.3.0.dist-info}/entry_points.txt +0 -0
- {pigeon_tem_comms-0.2.0.dist-info → pigeon_tem_comms-0.3.0.dist-info}/top_level.txt +0 -0
TEM_comms/camera.py
CHANGED
|
@@ -1,23 +1,30 @@
|
|
|
1
1
|
from pigeon import BaseMessage
|
|
2
|
+
from typing import Optional
|
|
3
|
+
|
|
2
4
|
|
|
3
5
|
class Command(BaseMessage):
|
|
4
6
|
tile_id: str
|
|
5
7
|
|
|
8
|
+
|
|
6
9
|
class Image(BaseMessage):
|
|
7
10
|
tile_id: str
|
|
8
11
|
path: str
|
|
9
12
|
|
|
13
|
+
|
|
10
14
|
class Settings(BaseMessage):
|
|
11
15
|
exposure: float | None = None
|
|
16
|
+
gain: Optional[float] = None
|
|
12
17
|
width: int | None = None
|
|
13
18
|
height: int | None = None
|
|
14
19
|
|
|
20
|
+
|
|
15
21
|
class Status(BaseMessage):
|
|
16
22
|
exposure: float
|
|
23
|
+
gain: float
|
|
17
24
|
width: int
|
|
18
25
|
height: int
|
|
19
26
|
temp: float
|
|
20
27
|
target_temp: float
|
|
21
28
|
device_name: str
|
|
22
29
|
device_model_id: int
|
|
23
|
-
device_sn: str
|
|
30
|
+
device_sn: str
|
TEM_comms/scope.py
CHANGED
|
@@ -2,6 +2,7 @@ from pigeon import BaseMessage
|
|
|
2
2
|
from typing import Literal
|
|
3
3
|
from pydantic import model_validator
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
class Command(BaseMessage):
|
|
6
7
|
focus: int | None = None
|
|
7
8
|
mag_mode: Literal["LM", "MAG1", "MAG2"] | None = None
|
|
@@ -18,4 +19,4 @@ class Status(BaseMessage):
|
|
|
18
19
|
aperture: str | None
|
|
19
20
|
mag_mode: str
|
|
20
21
|
mag: int
|
|
21
|
-
tank_voltage: int
|
|
22
|
+
tank_voltage: int
|
TEM_comms/stage/__init__.py
CHANGED
TEM_comms/stage/aperture.py
CHANGED
TEM_comms/stage/motion.py
CHANGED
TEM_comms/stage/rotation.py
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
from pigeon import BaseMessage
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
class Command(BaseMessage):
|
|
4
5
|
angle_x: float | None = None
|
|
5
6
|
angle_y: float | None = None
|
|
6
7
|
calibrate: bool = False
|
|
7
8
|
|
|
9
|
+
|
|
8
10
|
class Status(BaseMessage):
|
|
9
11
|
angle_x: float
|
|
10
12
|
angle_y: float
|
|
11
13
|
in_motion: bool
|
|
12
|
-
error: str = ""
|
|
14
|
+
error: str = ""
|
TEM_comms/tile/statistics.py
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
from pigeon import BaseMessage
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
class Focus(BaseMessage):
|
|
4
5
|
tile_id: str
|
|
5
6
|
focus: float
|
|
6
7
|
|
|
8
|
+
|
|
7
9
|
class Histogram(BaseMessage):
|
|
8
10
|
tile_id: str
|
|
9
11
|
path: str
|
|
10
12
|
|
|
13
|
+
|
|
11
14
|
class MinMaxMean(BaseMessage):
|
|
12
15
|
tile_id: str
|
|
13
16
|
min: int
|
|
14
17
|
max: int
|
|
15
|
-
mean: int
|
|
18
|
+
mean: int
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
TEM_comms/__init__.py,sha256=0FngFKym-Yl33wkqr68k6YglJCbVs1fV63uHFTmzJwk,1229
|
|
2
|
+
TEM_comms/buffer.py,sha256=Jr6fUIbUPreQSSGKWR7jkA1McyZZv3lVE8uQSER8VL4,123
|
|
3
|
+
TEM_comms/camera.py,sha256=L9ebaZra-M3g571PUzQCAuC92Auw4ox3gRceJ2uKRhs,522
|
|
4
|
+
TEM_comms/scope.py,sha256=CxpmTTBm6YMevPr3LeK9A7e8v5lGU6taG4e647asvak,503
|
|
5
|
+
TEM_comms/ui.py,sha256=8a3GxCjw7E52WcAgDZLlQ7S4L92w5GuhJK2V_tEdSSA,1055
|
|
6
|
+
TEM_comms/stage/__init__.py,sha256=UVtYKzMBI01FUADS24xSItNIjhqdZtlDeJdqsDJNVIc,67
|
|
7
|
+
TEM_comms/stage/aperture.py,sha256=LEIlUUbkUMAI-OYQnO4tqJTblCNPitwjcxSzZLFaliM,220
|
|
8
|
+
TEM_comms/stage/motion.py,sha256=hhTXTX-ED8o76oDtjluGJOzLcWfDmG0LEAt44Pfk4gI,230
|
|
9
|
+
TEM_comms/stage/rotation.py,sha256=J7tAIP2nskjInhZmdIbqwrvxTFXihEynVOAyxbDDfjU,262
|
|
10
|
+
TEM_comms/tile/__init__.py,sha256=kK9thh69UavYZ3toRzc_BLwjR3_Yif1tTdRAGLncrzY,458
|
|
11
|
+
TEM_comms/tile/statistics.py,sha256=8l1a8Qq0F2Jt1VV5ecoG5HSfZRa7njds1wo64n8CS3g,246
|
|
12
|
+
pigeon_tem_comms-0.3.0.dist-info/LICENSE,sha256=tZfQIUX7uNGacTb751ZWInVenJl6OwYQihcGbYrKSts,1463
|
|
13
|
+
pigeon_tem_comms-0.3.0.dist-info/METADATA,sha256=RuJGaL1qYm_x9TGFukRuSkuahXgwvgi2nwfi946f8ag,1553
|
|
14
|
+
pigeon_tem_comms-0.3.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
15
|
+
pigeon_tem_comms-0.3.0.dist-info/entry_points.txt,sha256=KFi0hPNwGY3gEmJF_8_smglVpfbU24lcCy0t_TJPgtg,36
|
|
16
|
+
pigeon_tem_comms-0.3.0.dist-info/top_level.txt,sha256=3_1RcQ7xvS2dJEYnPIigo9snoKcSXSNJzPqunY0qydI,10
|
|
17
|
+
pigeon_tem_comms-0.3.0.dist-info/RECORD,,
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
TEM_comms/__init__.py,sha256=0FngFKym-Yl33wkqr68k6YglJCbVs1fV63uHFTmzJwk,1229
|
|
2
|
-
TEM_comms/buffer.py,sha256=Jr6fUIbUPreQSSGKWR7jkA1McyZZv3lVE8uQSER8VL4,123
|
|
3
|
-
TEM_comms/camera.py,sha256=uBp9N00k4x_eYC_W8zUrTjFrmCpb6Tu2GQOG0WIGKwc,440
|
|
4
|
-
TEM_comms/scope.py,sha256=cj8S0BqR7RozFNh2TsiT-DnuRKCIdMKol5PdIxG65JU,501
|
|
5
|
-
TEM_comms/ui.py,sha256=8a3GxCjw7E52WcAgDZLlQ7S4L92w5GuhJK2V_tEdSSA,1055
|
|
6
|
-
TEM_comms/stage/__init__.py,sha256=xeB18s-MGkc83BsfWkUc0W3YwxoHVK-QfLAPfRelcFQ,66
|
|
7
|
-
TEM_comms/stage/aperture.py,sha256=hnd9HB6jYywHRQ1fB7suKEUvXZDT2VkE5cFJ3zKctPg,217
|
|
8
|
-
TEM_comms/stage/motion.py,sha256=NQPufhxRKB3ySEyPksDFi6srBlBGKxaqF5k2YAAfa9s,227
|
|
9
|
-
TEM_comms/stage/rotation.py,sha256=3khQqRCBDXNDQ5uArzhQ4kL0JP58wVMEbW3rG8hrZ_s,259
|
|
10
|
-
TEM_comms/tile/__init__.py,sha256=kK9thh69UavYZ3toRzc_BLwjR3_Yif1tTdRAGLncrzY,458
|
|
11
|
-
TEM_comms/tile/statistics.py,sha256=sQHeXtO3UB9k6lKtDEeO3e142aaAKelp-A8A_Bf5XJ8,242
|
|
12
|
-
pigeon_tem_comms-0.2.0.dist-info/LICENSE,sha256=tZfQIUX7uNGacTb751ZWInVenJl6OwYQihcGbYrKSts,1463
|
|
13
|
-
pigeon_tem_comms-0.2.0.dist-info/METADATA,sha256=Xz4Dnz98Mzl0R-r-pjPH81vCIx-QKM0V2SsSgSB_s10,1553
|
|
14
|
-
pigeon_tem_comms-0.2.0.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
|
|
15
|
-
pigeon_tem_comms-0.2.0.dist-info/entry_points.txt,sha256=KFi0hPNwGY3gEmJF_8_smglVpfbU24lcCy0t_TJPgtg,36
|
|
16
|
-
pigeon_tem_comms-0.2.0.dist-info/top_level.txt,sha256=3_1RcQ7xvS2dJEYnPIigo9snoKcSXSNJzPqunY0qydI,10
|
|
17
|
-
pigeon_tem_comms-0.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|