pigeon-tem-comms 0.4.10__tar.gz → 0.5.0__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.10 → pigeon_tem_comms-0.5.0}/PKG-INFO +1 -1
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/__init__.py +4 -9
- pigeon_tem_comms-0.5.0/TEM_comms/roi.py +45 -0
- pigeon_tem_comms-0.5.0/TEM_comms/tile/__init__.py +24 -0
- pigeon_tem_comms-0.5.0/TEM_comms/tile/metadata.py +9 -0
- pigeon_tem_comms-0.5.0/TEM_comms/tile/statistics.py +16 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/pigeon_tem_comms.egg-info/PKG-INFO +1 -1
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/pigeon_tem_comms.egg-info/SOURCES.txt +2 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/pyproject.toml +1 -1
- pigeon_tem_comms-0.4.10/TEM_comms/tile/__init__.py +0 -35
- pigeon_tem_comms-0.4.10/TEM_comms/tile/statistics.py +0 -22
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/LICENSE +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/README.md +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/buffer.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/camera.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/montage.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/qc.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/scope.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/stage/__init__.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/stage/aperture.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/stage/motion.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/stage/rotation.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/TEM_comms/ui.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/pigeon_tem_comms.egg-info/dependency_links.txt +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/pigeon_tem_comms.egg-info/entry_points.txt +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/pigeon_tem_comms.egg-info/requires.txt +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/pigeon_tem_comms.egg-info/top_level.txt +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/setup.cfg +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/tests/test_buffer.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/tests/test_qc.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/tests/test_scope_command.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/tests/test_ui.py +0 -0
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
from . import buffer
|
|
2
|
-
from . import camera
|
|
3
|
-
from . import scope
|
|
4
|
-
from . import stage
|
|
5
|
-
from . import tile
|
|
6
|
-
from . import ui
|
|
7
|
-
from . import montage
|
|
8
|
-
from . import qc
|
|
9
|
-
|
|
1
|
+
from . import buffer, camera, montage, qc, roi, scope, stage, tile, ui
|
|
10
2
|
|
|
11
3
|
topics = {
|
|
12
4
|
"buffer.status": buffer.Status,
|
|
@@ -36,4 +28,7 @@ topics = {
|
|
|
36
28
|
"montage.start": montage.Start,
|
|
37
29
|
"montage.finished": montage.Finished,
|
|
38
30
|
"qc.status": qc.Status,
|
|
31
|
+
"roi.load": roi.LoadROI,
|
|
32
|
+
"roi.create": roi.CreateROI,
|
|
33
|
+
"roi.current": roi.ROI,
|
|
39
34
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
from pigeon import BaseMessage
|
|
2
|
+
from typing import List, Tuple, Optional
|
|
3
|
+
from pydantic import Field
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Vertex(BaseMessage):
|
|
7
|
+
x: float
|
|
8
|
+
y: float
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ROI(BaseMessage):
|
|
12
|
+
vertices: List[Vertex]
|
|
13
|
+
rotation_angle: float
|
|
14
|
+
buffer_size: float = 0.0
|
|
15
|
+
montage_id: str
|
|
16
|
+
specimen_id: Optional[str] = None
|
|
17
|
+
grid_id: Optional[str] = None
|
|
18
|
+
section_id: Optional[str] = None
|
|
19
|
+
metadata: Optional[dict] = None
|
|
20
|
+
queue_position: Optional[int] = Field(
|
|
21
|
+
None, description="Position in queue, None means set as current"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class LoadROI(BaseMessage):
|
|
26
|
+
specimen_id: str
|
|
27
|
+
section_id: str
|
|
28
|
+
grid_id: Optional[str] = None
|
|
29
|
+
queue_position: Optional[int] = Field(
|
|
30
|
+
None, description="Position in queue, None means set as current"
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class CreateROI(BaseMessage):
|
|
35
|
+
center: Vertex
|
|
36
|
+
width: float
|
|
37
|
+
height: float
|
|
38
|
+
rotation_angle: float = 0.0
|
|
39
|
+
montage_id: str
|
|
40
|
+
specimen_id: Optional[str] = None
|
|
41
|
+
grid_id: Optional[str] = None
|
|
42
|
+
section_id: Optional[str] = None
|
|
43
|
+
queue_position: Optional[int] = Field(
|
|
44
|
+
None, description="Position in queue, None means set as current"
|
|
45
|
+
)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from .metadata import TileMetadata
|
|
2
|
+
from . import statistics
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Preview(TileMetadata):
|
|
6
|
+
image: str
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Minimap(TileMetadata):
|
|
10
|
+
image: str
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class Raw(TileMetadata):
|
|
14
|
+
path: str
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class Transform(TileMetadata):
|
|
18
|
+
rotation: float
|
|
19
|
+
x: float
|
|
20
|
+
y: float
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class Processed(TileMetadata):
|
|
24
|
+
path: str
|
|
@@ -6,6 +6,7 @@ TEM_comms/buffer.py
|
|
|
6
6
|
TEM_comms/camera.py
|
|
7
7
|
TEM_comms/montage.py
|
|
8
8
|
TEM_comms/qc.py
|
|
9
|
+
TEM_comms/roi.py
|
|
9
10
|
TEM_comms/scope.py
|
|
10
11
|
TEM_comms/ui.py
|
|
11
12
|
TEM_comms/stage/__init__.py
|
|
@@ -13,6 +14,7 @@ TEM_comms/stage/aperture.py
|
|
|
13
14
|
TEM_comms/stage/motion.py
|
|
14
15
|
TEM_comms/stage/rotation.py
|
|
15
16
|
TEM_comms/tile/__init__.py
|
|
17
|
+
TEM_comms/tile/metadata.py
|
|
16
18
|
TEM_comms/tile/statistics.py
|
|
17
19
|
pigeon_tem_comms.egg-info/PKG-INFO
|
|
18
20
|
pigeon_tem_comms.egg-info/SOURCES.txt
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
from pigeon import BaseMessage
|
|
2
|
-
from . import statistics
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Preview(BaseMessage):
|
|
6
|
-
tile_id: str
|
|
7
|
-
image: str
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Minimap(BaseMessage):
|
|
11
|
-
tile_id: str
|
|
12
|
-
path: str
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class Raw(BaseMessage):
|
|
16
|
-
tile_id: str
|
|
17
|
-
montage_id: str
|
|
18
|
-
path: str
|
|
19
|
-
row: int
|
|
20
|
-
column: int
|
|
21
|
-
overlap: int
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class Transform(BaseMessage):
|
|
25
|
-
montage_id: str
|
|
26
|
-
tile_id: str
|
|
27
|
-
rotation: float
|
|
28
|
-
x: float
|
|
29
|
-
y: float
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
class Processed(BaseMessage):
|
|
33
|
-
montage_id: str
|
|
34
|
-
tile_id: str
|
|
35
|
-
path: str
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
from pigeon import BaseMessage
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
class Focus(BaseMessage):
|
|
5
|
-
montage_id: str
|
|
6
|
-
tile_id: str
|
|
7
|
-
focus: float
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Histogram(BaseMessage):
|
|
11
|
-
montage_id: str
|
|
12
|
-
tile_id: str
|
|
13
|
-
path: str
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
class MinMaxMean(BaseMessage):
|
|
17
|
-
montage_id: str
|
|
18
|
-
tile_id: str
|
|
19
|
-
min: int
|
|
20
|
-
max: int
|
|
21
|
-
mean: int
|
|
22
|
-
|
|
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.10 → pigeon_tem_comms-0.5.0}/pigeon_tem_comms.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.5.0}/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
|