pigeon-tem-comms 1.1.0__tar.gz → 1.1.2__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 (32) hide show
  1. {pigeon_tem_comms-1.1.0/pigeon_tem_comms.egg-info → pigeon_tem_comms-1.1.2}/PKG-INFO +1 -1
  2. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/__init__.py +1 -2
  3. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/camera.py +1 -0
  4. pigeon_tem_comms-1.1.2/TEM_comms/montage.py +26 -0
  5. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/scope.py +2 -0
  6. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/stage/motion.py +3 -2
  7. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/tile/statistics.py +1 -0
  8. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2/pigeon_tem_comms.egg-info}/PKG-INFO +1 -1
  9. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/pyproject.toml +1 -1
  10. pigeon_tem_comms-1.1.0/TEM_comms/montage.py +0 -28
  11. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/LICENSE +0 -0
  12. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/README.md +0 -0
  13. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/buffer.py +0 -0
  14. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/qc.py +0 -0
  15. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/roi.py +0 -0
  16. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/stage/__init__.py +0 -0
  17. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/stage/aperture.py +0 -0
  18. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/stage/rotation.py +0 -0
  19. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/tile/__init__.py +0 -0
  20. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/tile/metadata.py +0 -0
  21. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/TEM_comms/ui.py +0 -0
  22. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/pigeon_tem_comms.egg-info/SOURCES.txt +0 -0
  23. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/pigeon_tem_comms.egg-info/dependency_links.txt +0 -0
  24. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/pigeon_tem_comms.egg-info/entry_points.txt +0 -0
  25. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/pigeon_tem_comms.egg-info/requires.txt +0 -0
  26. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/pigeon_tem_comms.egg-info/top_level.txt +0 -0
  27. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/setup.cfg +0 -0
  28. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/tests/test_buffer.py +0 -0
  29. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/tests/test_camera.py +0 -0
  30. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/tests/test_qc.py +0 -0
  31. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/tests/test_scope_command.py +0 -0
  32. {pigeon_tem_comms-1.1.0 → pigeon_tem_comms-1.1.2}/tests/test_ui.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pigeon-tem-comms
3
- Version: 1.1.0
3
+ Version: 1.1.2
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
@@ -26,8 +26,7 @@ topics = {
26
26
  "ui.edit": ui.Edit,
27
27
  "ui.run": ui.Run,
28
28
  "ui.setup": ui.Setup,
29
- "montage.start": montage.Start,
30
- "montage.finished": montage.Finished,
29
+ "montage.complete": montage.Complete,
31
30
  "qc.status": qc.Status,
32
31
  "roi.load": roi.LoadROI,
33
32
  "roi.create": roi.CreateROI,
@@ -31,3 +31,4 @@ class Status(BaseMessage):
31
31
  device_name: str
32
32
  device_model_id: int
33
33
  device_sn: str
34
+ bit_depth: int
@@ -0,0 +1,26 @@
1
+ from pigeon import BaseMessage
2
+ from typing import Mapping, List, Any, Optional, Tuple
3
+ from datetime import datetime
4
+
5
+
6
+ class Complete(BaseMessage):
7
+ montage_id: str
8
+ tile_ids: List[str]
9
+ acquisition_id: str
10
+ start_time: datetime
11
+ pixel_size: float
12
+ rotation_angle: float
13
+ aperture_centroid: Tuple[int, int]
14
+
15
+
16
+ class Minimap(BaseMessage):
17
+ image: Optional[str]
18
+ colorbar: str
19
+ min: Optional[float]
20
+ max: Optional[float]
21
+
22
+
23
+ class Minimaps(BaseMessage):
24
+ montage_id: str
25
+ montage: Minimap
26
+ focus: Minimap
@@ -9,6 +9,7 @@ class Command(BaseMessage):
9
9
  mag: Optional[int] = None
10
10
  brightness: Optional[int] = None
11
11
  beam_offset: Optional[Tuple[int, int]] = None
12
+ spot_size: Optional[int] = None
12
13
  screen: Optional[Literal["up", "down"]] = None
13
14
 
14
15
  @model_validator(mode="after")
@@ -25,4 +26,5 @@ class Status(BaseMessage):
25
26
  tank_voltage: int
26
27
  brightness: int
27
28
  beam_offset: Tuple[int, int]
29
+ spot_size: int
28
30
  screen: Literal["up", "down"] | None
@@ -1,16 +1,17 @@
1
+ from typing import Optional
1
2
  from pigeon import BaseMessage
2
3
 
3
4
 
4
5
  class Command(BaseMessage):
5
6
  x: int | None = None
6
7
  y: int | None = None
7
- z: int | None = None
8
+ z: Optional[int] = None
8
9
  calibrate: bool = False
9
10
 
10
11
 
11
12
  class Status(BaseMessage):
12
13
  x: int | None
13
14
  y: int | None
14
- z: int | None
15
+ z: Optional[int] = None
15
16
  in_motion: bool
16
17
  error: str = ""
@@ -14,3 +14,4 @@ class MinMaxMean(TileMetadata):
14
14
  min: int
15
15
  max: int
16
16
  mean: int
17
+ std: int
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pigeon-tem-comms
3
- Version: 1.1.0
3
+ Version: 1.1.2
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pigeon-tem-comms"
3
- version = "1.1.0"
3
+ version = "1.1.2"
4
4
  authors = [
5
5
  { name="Cameron Devine", email="cameron.devine@alleninstitute.org" },
6
6
  ]
@@ -1,28 +0,0 @@
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