pigeon-tem-comms 0.4.11__tar.gz → 1.0.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.11/pigeon_tem_comms.egg-info → pigeon_tem_comms-1.0.0}/PKG-INFO +3 -2
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/__init__.py +3 -1
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/camera.py +5 -1
- pigeon_tem_comms-1.0.0/TEM_comms/montage.py +28 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/roi.py +14 -5
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/stage/motion.py +2 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/stage/rotation.py +2 -0
- pigeon_tem_comms-1.0.0/TEM_comms/tile/__init__.py +24 -0
- pigeon_tem_comms-1.0.0/TEM_comms/tile/metadata.py +9 -0
- pigeon_tem_comms-1.0.0/TEM_comms/tile/statistics.py +16 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0/pigeon_tem_comms.egg-info}/PKG-INFO +3 -2
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/SOURCES.txt +1 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/pyproject.toml +1 -1
- pigeon_tem_comms-0.4.11/TEM_comms/montage.py +0 -15
- pigeon_tem_comms-0.4.11/TEM_comms/tile/__init__.py +0 -35
- pigeon_tem_comms-0.4.11/TEM_comms/tile/statistics.py +0 -22
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/LICENSE +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/README.md +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/buffer.py +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/qc.py +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/scope.py +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/stage/__init__.py +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/stage/aperture.py +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/TEM_comms/ui.py +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/dependency_links.txt +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/entry_points.txt +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/requires.txt +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/top_level.txt +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/setup.cfg +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/tests/test_buffer.py +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/tests/test_qc.py +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/tests/test_scope_command.py +0 -0
- {pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/tests/test_ui.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pigeon-tem-comms
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: Pigeon messages for the next generation TEM imaging system.
|
|
5
5
|
Author-email: Cameron Devine <cameron.devine@alleninstitute.org>
|
|
6
6
|
License: BSD 3 Clause
|
|
@@ -18,6 +18,7 @@ Description-Content-Type: text/markdown
|
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: pigeon-client
|
|
20
20
|
Requires-Dist: pydantic
|
|
21
|
+
Dynamic: license-file
|
|
21
22
|
|
|
22
23
|
[](https://github.com/AllenInstitute/TEM_comms/actions)
|
|
23
24
|
[](https://pypi.org/project/pigeon-tem-comms/)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from . import buffer, camera, montage, qc, roi, scope, stage, tile, ui
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
topics = {
|
|
4
5
|
"buffer.status": buffer.Status,
|
|
5
6
|
"camera.command": camera.Command,
|
|
@@ -15,7 +16,7 @@ topics = {
|
|
|
15
16
|
"stage.rotation.command": stage.rotation.Command,
|
|
16
17
|
"stage.rotation.status": stage.rotation.Status,
|
|
17
18
|
"tile.preview": tile.Preview,
|
|
18
|
-
"tile.
|
|
19
|
+
"tile.mini": tile.Mini,
|
|
19
20
|
"tile.processed": tile.Processed,
|
|
20
21
|
"tile.raw": tile.Raw,
|
|
21
22
|
"tile.statistics.focus": tile.statistics.Focus,
|
|
@@ -31,4 +32,5 @@ topics = {
|
|
|
31
32
|
"roi.load": roi.LoadROI,
|
|
32
33
|
"roi.create": roi.CreateROI,
|
|
33
34
|
"roi.current": roi.ROI,
|
|
35
|
+
"montage.minimaps": montage.Minimaps,
|
|
34
36
|
}
|
|
@@ -4,11 +4,15 @@ from typing import Optional
|
|
|
4
4
|
|
|
5
5
|
class Command(BaseMessage):
|
|
6
6
|
tile_id: str
|
|
7
|
+
montage_id: str
|
|
8
|
+
brightfield: Optional[bool] = False
|
|
9
|
+
darkfield: Optional[bool] = False
|
|
10
|
+
lens_correction: Optional[bool] = True
|
|
7
11
|
|
|
8
12
|
|
|
9
13
|
class Image(BaseMessage):
|
|
10
14
|
tile_id: str
|
|
11
|
-
|
|
15
|
+
montage_id: str
|
|
12
16
|
|
|
13
17
|
|
|
14
18
|
class Settings(BaseMessage):
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from pigeon import BaseMessage
|
|
2
|
+
from typing import Mapping, List, Any, Optional
|
|
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]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class Minimap(BaseMessage):
|
|
19
|
+
image: Optional[str]
|
|
20
|
+
colorbar: str
|
|
21
|
+
min: Optional[float]
|
|
22
|
+
max: Optional[float]
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class Minimaps(BaseMessage):
|
|
26
|
+
montage_id: str
|
|
27
|
+
montage: Minimap
|
|
28
|
+
focus: Minimap
|
|
@@ -2,10 +2,12 @@ from pigeon import BaseMessage
|
|
|
2
2
|
from typing import List, Tuple, Optional
|
|
3
3
|
from pydantic import Field
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
class Vertex(BaseMessage):
|
|
6
|
-
x: float
|
|
7
|
+
x: float
|
|
7
8
|
y: float
|
|
8
9
|
|
|
10
|
+
|
|
9
11
|
class ROI(BaseMessage):
|
|
10
12
|
vertices: List[Vertex]
|
|
11
13
|
rotation_angle: float
|
|
@@ -15,13 +17,19 @@ class ROI(BaseMessage):
|
|
|
15
17
|
grid_id: Optional[str] = None
|
|
16
18
|
section_id: Optional[str] = None
|
|
17
19
|
metadata: Optional[dict] = None
|
|
18
|
-
queue_position: Optional[int] = Field(
|
|
20
|
+
queue_position: Optional[int] = Field(
|
|
21
|
+
None, description="Position in queue, None means set as current"
|
|
22
|
+
)
|
|
23
|
+
|
|
19
24
|
|
|
20
25
|
class LoadROI(BaseMessage):
|
|
21
26
|
specimen_id: str
|
|
22
27
|
section_id: str
|
|
23
28
|
grid_id: Optional[str] = None
|
|
24
|
-
queue_position: Optional[int] = Field(
|
|
29
|
+
queue_position: Optional[int] = Field(
|
|
30
|
+
None, description="Position in queue, None means set as current"
|
|
31
|
+
)
|
|
32
|
+
|
|
25
33
|
|
|
26
34
|
class CreateROI(BaseMessage):
|
|
27
35
|
center: Vertex
|
|
@@ -32,5 +40,6 @@ class CreateROI(BaseMessage):
|
|
|
32
40
|
specimen_id: Optional[str] = None
|
|
33
41
|
grid_id: Optional[str] = None
|
|
34
42
|
section_id: Optional[str] = None
|
|
35
|
-
queue_position: Optional[int] = Field(
|
|
36
|
-
|
|
43
|
+
queue_position: Optional[int] = Field(
|
|
44
|
+
None, description="Position in queue, None means set as current"
|
|
45
|
+
)
|
|
@@ -4,11 +4,13 @@ from pigeon import BaseMessage
|
|
|
4
4
|
class Command(BaseMessage):
|
|
5
5
|
x: int | None = None
|
|
6
6
|
y: int | None = None
|
|
7
|
+
z: int | None = None
|
|
7
8
|
calibrate: bool = False
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
class Status(BaseMessage):
|
|
11
12
|
x: int | None
|
|
12
13
|
y: int | None
|
|
14
|
+
z: int | None
|
|
13
15
|
in_motion: bool
|
|
14
16
|
error: str = ""
|
|
@@ -4,11 +4,13 @@ from pigeon import BaseMessage
|
|
|
4
4
|
class Command(BaseMessage):
|
|
5
5
|
angle_x: float | None = None
|
|
6
6
|
angle_y: float | None = None
|
|
7
|
+
eucentric_height: float | None = None
|
|
7
8
|
calibrate: bool = False
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
class Status(BaseMessage):
|
|
11
12
|
angle_x: float
|
|
12
13
|
angle_y: float
|
|
14
|
+
eucentric_height: float
|
|
13
15
|
in_motion: bool
|
|
14
16
|
error: str = ""
|
|
@@ -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 Mini(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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pigeon-tem-comms
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: Pigeon messages for the next generation TEM imaging system.
|
|
5
5
|
Author-email: Cameron Devine <cameron.devine@alleninstitute.org>
|
|
6
6
|
License: BSD 3 Clause
|
|
@@ -18,6 +18,7 @@ Description-Content-Type: text/markdown
|
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: pigeon-client
|
|
20
20
|
Requires-Dist: pydantic
|
|
21
|
+
Dynamic: license-file
|
|
21
22
|
|
|
22
23
|
[](https://github.com/AllenInstitute/TEM_comms/actions)
|
|
23
24
|
[](https://pypi.org/project/pigeon-tem-comms/)
|
|
@@ -1,15 +0,0 @@
|
|
|
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]
|
|
@@ -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
|
{pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pigeon_tem_comms-0.4.11 → pigeon_tem_comms-1.0.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
|