pigeon-tem-comms 0.4.1__tar.gz → 0.4.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 (28) hide show
  1. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/PKG-INFO +1 -1
  2. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/scope.py +9 -4
  3. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/PKG-INFO +1 -1
  4. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pyproject.toml +1 -1
  5. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/LICENSE +0 -0
  6. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/README.md +0 -0
  7. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/__init__.py +0 -0
  8. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/buffer.py +0 -0
  9. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/camera.py +0 -0
  10. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/montage.py +0 -0
  11. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/qc.py +0 -0
  12. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/stage/__init__.py +0 -0
  13. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/stage/aperture.py +0 -0
  14. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/stage/motion.py +0 -0
  15. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/stage/rotation.py +0 -0
  16. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/tile/__init__.py +0 -0
  17. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/tile/statistics.py +0 -0
  18. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/TEM_comms/ui.py +0 -0
  19. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/SOURCES.txt +0 -0
  20. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/dependency_links.txt +0 -0
  21. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/entry_points.txt +0 -0
  22. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/requires.txt +0 -0
  23. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/pigeon_tem_comms.egg-info/top_level.txt +0 -0
  24. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/setup.cfg +0 -0
  25. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/tests/test_buffer.py +0 -0
  26. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/tests/test_qc.py +0 -0
  27. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/tests/test_scope_command.py +0 -0
  28. {pigeon_tem_comms-0.4.1 → pigeon_tem_comms-0.4.2}/tests/test_ui.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pigeon-tem-comms
3
- Version: 0.4.1
3
+ Version: 0.4.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,12 +1,15 @@
1
1
  from pigeon import BaseMessage
2
- from typing import Literal
2
+ from typing import Literal, Optional, Tuple
3
3
  from pydantic import model_validator
4
4
 
5
5
 
6
6
  class Command(BaseMessage):
7
- focus: int | None = None
8
- mag_mode: Literal["LM", "MAG1", "MAG2"] | None = None
9
- mag: int | None = None
7
+ focus: Optional[int] = None
8
+ mag_mode: Optional[Literal["LM", "MAG1", "MAG2"]] = None
9
+ mag: Optional[int] = None
10
+ brightness: Optional[int] = None
11
+ beam_offset: Optional[Tuple[int, int]] = None
12
+ screen: Optional[Literal["up", "down"]] = None
10
13
 
11
14
  @model_validator(mode="after")
12
15
  def check_mag(self):
@@ -20,3 +23,5 @@ class Status(BaseMessage):
20
23
  mag_mode: str
21
24
  mag: int
22
25
  tank_voltage: int
26
+ brightness: int
27
+ beam_offset: Tuple[int, int]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pigeon-tem-comms
3
- Version: 0.4.1
3
+ Version: 0.4.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 = "0.4.1"
3
+ version = "0.4.2"
4
4
  authors = [
5
5
  { name="Cameron Devine", email="cameron.devine@alleninstitute.org" },
6
6
  ]