pigeon-tem-comms 0.5.0__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.
Files changed (31) hide show
  1. {pigeon_tem_comms-0.5.0/pigeon_tem_comms.egg-info → pigeon_tem_comms-1.0.0}/PKG-INFO +3 -2
  2. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/__init__.py +3 -1
  3. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/camera.py +5 -1
  4. pigeon_tem_comms-1.0.0/TEM_comms/montage.py +28 -0
  5. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/stage/motion.py +2 -0
  6. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/stage/rotation.py +2 -0
  7. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/tile/__init__.py +1 -1
  8. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0/pigeon_tem_comms.egg-info}/PKG-INFO +3 -2
  9. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/pyproject.toml +1 -1
  10. pigeon_tem_comms-0.5.0/TEM_comms/montage.py +0 -15
  11. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/LICENSE +0 -0
  12. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/README.md +0 -0
  13. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/buffer.py +0 -0
  14. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/qc.py +0 -0
  15. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/roi.py +0 -0
  16. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/scope.py +0 -0
  17. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/stage/__init__.py +0 -0
  18. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/stage/aperture.py +0 -0
  19. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/tile/metadata.py +0 -0
  20. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/tile/statistics.py +0 -0
  21. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/TEM_comms/ui.py +0 -0
  22. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/SOURCES.txt +0 -0
  23. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/dependency_links.txt +0 -0
  24. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/entry_points.txt +0 -0
  25. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/requires.txt +0 -0
  26. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/pigeon_tem_comms.egg-info/top_level.txt +0 -0
  27. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/setup.cfg +0 -0
  28. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/tests/test_buffer.py +0 -0
  29. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/tests/test_qc.py +0 -0
  30. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/tests/test_scope_command.py +0 -0
  31. {pigeon_tem_comms-0.5.0 → pigeon_tem_comms-1.0.0}/tests/test_ui.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pigeon-tem-comms
3
- Version: 0.5.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
  [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/AllenInstitute/TEM_comms/main.yaml)](https://github.com/AllenInstitute/TEM_comms/actions)
23
24
  [![PyPI - Version](https://img.shields.io/pypi/v/pigeon-tem-comms)](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.minimap": tile.Minimap,
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
- path: str
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
@@ -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 = ""
@@ -6,7 +6,7 @@ class Preview(TileMetadata):
6
6
  image: str
7
7
 
8
8
 
9
- class Minimap(TileMetadata):
9
+ class Mini(TileMetadata):
10
10
  image: str
11
11
 
12
12
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pigeon-tem-comms
3
- Version: 0.5.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
  [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/AllenInstitute/TEM_comms/main.yaml)](https://github.com/AllenInstitute/TEM_comms/actions)
23
24
  [![PyPI - Version](https://img.shields.io/pypi/v/pigeon-tem-comms)](https://pypi.org/project/pigeon-tem-comms/)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pigeon-tem-comms"
3
- version = "0.5.0"
3
+ version = "1.0.0"
4
4
  authors = [
5
5
  { name="Cameron Devine", email="cameron.devine@alleninstitute.org" },
6
6
  ]
@@ -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]