pigeon-tem-comms 0.4.10__tar.gz → 0.4.11__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.4.11}/PKG-INFO +1 -1
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/__init__.py +4 -9
- pigeon_tem_comms-0.4.11/TEM_comms/roi.py +36 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/pigeon_tem_comms.egg-info/PKG-INFO +1 -1
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/pigeon_tem_comms.egg-info/SOURCES.txt +1 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/pyproject.toml +1 -1
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/LICENSE +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/README.md +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/buffer.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/camera.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/montage.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/qc.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/scope.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/stage/__init__.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/stage/aperture.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/stage/motion.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/stage/rotation.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/tile/__init__.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/tile/statistics.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/TEM_comms/ui.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/pigeon_tem_comms.egg-info/dependency_links.txt +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/pigeon_tem_comms.egg-info/entry_points.txt +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/pigeon_tem_comms.egg-info/requires.txt +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/pigeon_tem_comms.egg-info/top_level.txt +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/setup.cfg +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/tests/test_buffer.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/tests/test_qc.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/tests/test_scope_command.py +0 -0
- {pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/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,36 @@
|
|
|
1
|
+
from pigeon import BaseMessage
|
|
2
|
+
from typing import List, Tuple, Optional
|
|
3
|
+
from pydantic import Field
|
|
4
|
+
|
|
5
|
+
class Vertex(BaseMessage):
|
|
6
|
+
x: float
|
|
7
|
+
y: float
|
|
8
|
+
|
|
9
|
+
class ROI(BaseMessage):
|
|
10
|
+
vertices: List[Vertex]
|
|
11
|
+
rotation_angle: float
|
|
12
|
+
buffer_size: float = 0.0
|
|
13
|
+
montage_id: str
|
|
14
|
+
specimen_id: Optional[str] = None
|
|
15
|
+
grid_id: Optional[str] = None
|
|
16
|
+
section_id: Optional[str] = None
|
|
17
|
+
metadata: Optional[dict] = None
|
|
18
|
+
queue_position: Optional[int] = Field(None, description="Position in queue, None means set as current")
|
|
19
|
+
|
|
20
|
+
class LoadROI(BaseMessage):
|
|
21
|
+
specimen_id: str
|
|
22
|
+
section_id: str
|
|
23
|
+
grid_id: Optional[str] = None
|
|
24
|
+
queue_position: Optional[int] = Field(None, description="Position in queue, None means set as current")
|
|
25
|
+
|
|
26
|
+
class CreateROI(BaseMessage):
|
|
27
|
+
center: Vertex
|
|
28
|
+
width: float
|
|
29
|
+
height: float
|
|
30
|
+
rotation_angle: float = 0.0
|
|
31
|
+
montage_id: str
|
|
32
|
+
specimen_id: Optional[str] = None
|
|
33
|
+
grid_id: Optional[str] = None
|
|
34
|
+
section_id: Optional[str] = None
|
|
35
|
+
queue_position: Optional[int] = Field(None, description="Position in queue, None means set as current")
|
|
36
|
+
|
|
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.10 → pigeon_tem_comms-0.4.11}/pigeon_tem_comms.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pigeon_tem_comms-0.4.10 → pigeon_tem_comms-0.4.11}/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
|