pigeon-tem-comms 0.3.0__py3-none-any.whl → 0.4.1__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 +5 -7
- TEM_comms/montage.py +15 -0
- TEM_comms/qc.py +6 -0
- TEM_comms/tile/__init__.py +8 -6
- TEM_comms/tile/statistics.py +4 -0
- {pigeon_tem_comms-0.3.0.dist-info → pigeon_tem_comms-0.4.1.dist-info}/METADATA +1 -1
- pigeon_tem_comms-0.4.1.dist-info/RECORD +19 -0
- {pigeon_tem_comms-0.3.0.dist-info → pigeon_tem_comms-0.4.1.dist-info}/WHEEL +1 -1
- pigeon_tem_comms-0.4.1.dist-info/entry_points.txt +2 -0
- pigeon_tem_comms-0.3.0.dist-info/RECORD +0 -17
- pigeon_tem_comms-0.3.0.dist-info/entry_points.txt +0 -2
- {pigeon_tem_comms-0.3.0.dist-info → pigeon_tem_comms-0.4.1.dist-info}/LICENSE +0 -0
- {pigeon_tem_comms-0.3.0.dist-info → pigeon_tem_comms-0.4.1.dist-info}/top_level.txt +0 -0
TEM_comms/__init__.py
CHANGED
|
@@ -4,11 +4,9 @@ from . import scope
|
|
|
4
4
|
from . import stage
|
|
5
5
|
from . import tile
|
|
6
6
|
from . import ui
|
|
7
|
+
from . import montage
|
|
8
|
+
from . import qc
|
|
7
9
|
|
|
8
|
-
import importlib.metadata
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
__version__ = importlib.metadata.version("pigeon-tem-comms")
|
|
12
10
|
|
|
13
11
|
topics = {
|
|
14
12
|
"buffer.status": buffer.Status,
|
|
@@ -35,7 +33,7 @@ topics = {
|
|
|
35
33
|
"ui.edit": ui.Edit,
|
|
36
34
|
"ui.run": ui.Run,
|
|
37
35
|
"ui.setup": ui.Setup,
|
|
36
|
+
"montage.start": montage.Start,
|
|
37
|
+
"montage.finished": montage.Finished,
|
|
38
|
+
"qc.status": qc.Status,
|
|
38
39
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
msgs = (topics, __version__)
|
TEM_comms/montage.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from pigeon import BaseMessage
|
|
2
|
+
from typing import Mapping, List, Any
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Start(BaseMessage):
|
|
6
|
+
montage_id: str
|
|
7
|
+
num_tiles: int
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Finished(BaseMessage):
|
|
11
|
+
montage_id: str
|
|
12
|
+
num_tiles: int
|
|
13
|
+
roi: str
|
|
14
|
+
specimen: str
|
|
15
|
+
metadata: Mapping[str, Any] | List[Any]
|
TEM_comms/qc.py
ADDED
TEM_comms/tile/__init__.py
CHANGED
|
@@ -12,22 +12,24 @@ class Minimap(BaseMessage):
|
|
|
12
12
|
path: str
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
class Processed(BaseMessage):
|
|
16
|
-
tile_id: str
|
|
17
|
-
path: str
|
|
18
|
-
|
|
19
|
-
|
|
20
15
|
class Raw(BaseMessage):
|
|
21
16
|
tile_id: str
|
|
22
17
|
montage_id: str
|
|
23
18
|
path: str
|
|
24
19
|
row: int
|
|
25
20
|
column: int
|
|
26
|
-
overlap:
|
|
21
|
+
overlap: int
|
|
27
22
|
|
|
28
23
|
|
|
29
24
|
class Transform(BaseMessage):
|
|
25
|
+
montage_id: str
|
|
30
26
|
tile_id: str
|
|
31
27
|
rotation: float
|
|
32
28
|
x: float
|
|
33
29
|
y: float
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class Processed(BaseMessage):
|
|
33
|
+
montage_id: str
|
|
34
|
+
tile_id: str
|
|
35
|
+
path: str
|
TEM_comms/tile/statistics.py
CHANGED
|
@@ -2,17 +2,21 @@ from pigeon import BaseMessage
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class Focus(BaseMessage):
|
|
5
|
+
montage_id: str
|
|
5
6
|
tile_id: str
|
|
6
7
|
focus: float
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class Histogram(BaseMessage):
|
|
11
|
+
montage_id: str
|
|
10
12
|
tile_id: str
|
|
11
13
|
path: str
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
class MinMaxMean(BaseMessage):
|
|
17
|
+
montage_id: str
|
|
15
18
|
tile_id: str
|
|
16
19
|
min: int
|
|
17
20
|
max: int
|
|
18
21
|
mean: int
|
|
22
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
TEM_comms/__init__.py,sha256=BugKdjbBbACD5-Tmr2wpchefLrkAeQEtSxHCpsmsP20,1254
|
|
2
|
+
TEM_comms/buffer.py,sha256=Jr6fUIbUPreQSSGKWR7jkA1McyZZv3lVE8uQSER8VL4,123
|
|
3
|
+
TEM_comms/camera.py,sha256=L9ebaZra-M3g571PUzQCAuC92Auw4ox3gRceJ2uKRhs,522
|
|
4
|
+
TEM_comms/montage.py,sha256=PCfve__0M3S2RSmBtrDRlDlmIW_qJffDRE8gnlEHoxY,281
|
|
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
|
|
8
|
+
TEM_comms/stage/__init__.py,sha256=UVtYKzMBI01FUADS24xSItNIjhqdZtlDeJdqsDJNVIc,67
|
|
9
|
+
TEM_comms/stage/aperture.py,sha256=LEIlUUbkUMAI-OYQnO4tqJTblCNPitwjcxSzZLFaliM,220
|
|
10
|
+
TEM_comms/stage/motion.py,sha256=hhTXTX-ED8o76oDtjluGJOzLcWfDmG0LEAt44Pfk4gI,230
|
|
11
|
+
TEM_comms/stage/rotation.py,sha256=J7tAIP2nskjInhZmdIbqwrvxTFXihEynVOAyxbDDfjU,262
|
|
12
|
+
TEM_comms/tile/__init__.py,sha256=_AyiilFCIA7Z6R7K0tgpwordMMGY0Y6kX2R9snATgTE,496
|
|
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,,
|
|
@@ -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=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,,
|
|
File without changes
|
|
File without changes
|