pyobs-gemini 2.0.0.dev1__tar.gz → 2.0.0.dev3__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.
- {pyobs_gemini-2.0.0.dev1 → pyobs_gemini-2.0.0.dev3}/PKG-INFO +3 -3
- {pyobs_gemini-2.0.0.dev1 → pyobs_gemini-2.0.0.dev3}/pyobs_gemini/gemini.py +3 -7
- pyobs_gemini-2.0.0.dev3/pyproject.toml +62 -0
- pyobs_gemini-2.0.0.dev1/pyproject.toml → pyobs_gemini-2.0.0.dev3/pyproject.toml.orig +10 -5
- {pyobs_gemini-2.0.0.dev1 → pyobs_gemini-2.0.0.dev3}/pyobs_gemini/__init__.py +0 -0
- {pyobs_gemini-2.0.0.dev1 → pyobs_gemini-2.0.0.dev3}/pyobs_gemini/api.py +0 -0
- {pyobs_gemini-2.0.0.dev1 → pyobs_gemini-2.0.0.dev3}/pyobs_gemini/geminidriver.py +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobs-gemini
|
|
3
|
-
Version: 2.0.0.
|
|
3
|
+
Version: 2.0.0.dev3
|
|
4
4
|
Summary: pyobs module for Optec Gemini focusser/rotator
|
|
5
5
|
Author: Tim-Oliver Husser, Frederic V. Hessman
|
|
6
6
|
Author-email: Tim-Oliver Husser <thusser@uni-goettingen.de>, Frederic V. Hessman <fhessma@uni-goettingen.de>
|
|
7
7
|
License-Expression: MIT
|
|
8
8
|
Requires-Dist: aioserial>=1.3,<2
|
|
9
|
-
Requires-Dist: astropy>=7.0.1,<
|
|
9
|
+
Requires-Dist: astropy>=7.0.1,<9
|
|
10
10
|
Requires-Dist: numpy>=2.2.5,<3
|
|
11
|
-
Requires-Dist: pyobs-core>=2.0.0.
|
|
11
|
+
Requires-Dist: pyobs-core>=2.0.0.dev82,<3
|
|
12
12
|
Requires-Python: >=3.11, <3.14
|
|
@@ -30,9 +30,9 @@ log = logging.getLogger(__name__)
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
class GeminiFocuserRotator(
|
|
33
|
+
Module,
|
|
33
34
|
FitsNamespaceMixin,
|
|
34
35
|
MotionStatusMixin,
|
|
35
|
-
Module,
|
|
36
36
|
IRotation,
|
|
37
37
|
IFocuser,
|
|
38
38
|
ICalibrate,
|
|
@@ -50,7 +50,7 @@ class GeminiFocuserRotator(
|
|
|
50
50
|
*args: Any,
|
|
51
51
|
**kwargs: Any,
|
|
52
52
|
):
|
|
53
|
-
|
|
53
|
+
super().__init__(*args, motion_status_interfaces=["IFocuser", "IRotation"], **kwargs)
|
|
54
54
|
|
|
55
55
|
# add thread func
|
|
56
56
|
self.add_background_task(self._gdriver_update_func, True)
|
|
@@ -79,7 +79,7 @@ class GeminiFocuserRotator(
|
|
|
79
79
|
|
|
80
80
|
# SERIAL CONFIGURATION DICTIONARY
|
|
81
81
|
if serial_config is None:
|
|
82
|
-
self._serial_config = {
|
|
82
|
+
self._serial_config: dict[str, Any] = {
|
|
83
83
|
"port": "/dev/ttyUSB0",
|
|
84
84
|
"baudrate": 115200,
|
|
85
85
|
"timeout": 0.1,
|
|
@@ -110,10 +110,6 @@ class GeminiFocuserRotator(
|
|
|
110
110
|
else:
|
|
111
111
|
self._fits_config = fits_config
|
|
112
112
|
|
|
113
|
-
# mixins
|
|
114
|
-
FitsNamespaceMixin.__init__(self, *args, **kwargs)
|
|
115
|
-
MotionStatusMixin.__init__(self, **kwargs, motion_status_interfaces=["IFocuser", "IRotation"])
|
|
116
|
-
|
|
117
113
|
async def open(self) -> None:
|
|
118
114
|
"""Open module."""
|
|
119
115
|
await Module.open(self)
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "pyobs-gemini"
|
|
3
|
+
version = "2.0.0.dev3"
|
|
4
|
+
description = "pyobs module for Optec Gemini focusser/rotator"
|
|
5
|
+
requires-python = ">=3.11,<3.14"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
dependencies = [
|
|
8
|
+
"aioserial>=1.3,<2",
|
|
9
|
+
"astropy>=7.0.1,<9",
|
|
10
|
+
"numpy>=2.2.5,<3",
|
|
11
|
+
"pyobs-core>=2.0.0.dev82,<3",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[project.authors]]
|
|
15
|
+
name = "Tim-Oliver Husser"
|
|
16
|
+
email = "thusser@uni-goettingen.de"
|
|
17
|
+
|
|
18
|
+
[[project.authors]]
|
|
19
|
+
name = "Frederic V. Hessman"
|
|
20
|
+
email = "fhessma@uni-goettingen.de"
|
|
21
|
+
|
|
22
|
+
[dependency-groups]
|
|
23
|
+
dev = [
|
|
24
|
+
"black>=25.1.0,<27",
|
|
25
|
+
"pre-commit>=4.2.0,<5",
|
|
26
|
+
"ruff>=0.9.0",
|
|
27
|
+
"pyrefly>=1.1.1",
|
|
28
|
+
"pytest>=8.0.0",
|
|
29
|
+
"pytest-asyncio>=0.24.0",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[tool.uv.build-backend]
|
|
33
|
+
module-root = ""
|
|
34
|
+
|
|
35
|
+
[tool.black]
|
|
36
|
+
line-length = 120
|
|
37
|
+
target-version = ["py311"]
|
|
38
|
+
|
|
39
|
+
[tool.ruff]
|
|
40
|
+
target-version = "py311"
|
|
41
|
+
line-length = 120
|
|
42
|
+
|
|
43
|
+
[tool.ruff.lint]
|
|
44
|
+
select = [
|
|
45
|
+
"E",
|
|
46
|
+
"F",
|
|
47
|
+
"W",
|
|
48
|
+
"I",
|
|
49
|
+
"UP",
|
|
50
|
+
"G",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[tool.pyrefly]
|
|
54
|
+
python-version = "3.11"
|
|
55
|
+
ignore-missing-imports = []
|
|
56
|
+
|
|
57
|
+
[tool.pytest.ini_options]
|
|
58
|
+
asyncio_mode = "strict"
|
|
59
|
+
|
|
60
|
+
[build-system]
|
|
61
|
+
requires = ["uv_build>=0.9.14,<0.12.0"]
|
|
62
|
+
build-backend = "uv_build"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyobs-gemini"
|
|
3
|
-
version = "2.0.0.
|
|
3
|
+
version = "2.0.0.dev3"
|
|
4
4
|
description = "pyobs module for Optec Gemini focusser/rotator"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Tim-Oliver Husser", email = "thusser@uni-goettingen.de" },
|
|
@@ -10,24 +10,26 @@ requires-python = ">=3.11,<3.14"
|
|
|
10
10
|
license = "MIT"
|
|
11
11
|
dependencies = [
|
|
12
12
|
"aioserial>=1.3,<2",
|
|
13
|
-
"astropy>=7.0.1,<
|
|
13
|
+
"astropy>=7.0.1,<9",
|
|
14
14
|
"numpy>=2.2.5,<3",
|
|
15
|
-
"pyobs-core>=2.0.0.
|
|
15
|
+
"pyobs-core>=2.0.0.dev82,<3",
|
|
16
16
|
]
|
|
17
17
|
|
|
18
18
|
[dependency-groups]
|
|
19
19
|
dev = [
|
|
20
|
-
"black>=25.1.0,<
|
|
20
|
+
"black>=25.1.0,<27",
|
|
21
21
|
"pre-commit>=4.2.0,<5",
|
|
22
22
|
"ruff>=0.9.0",
|
|
23
23
|
"pyrefly>=1.1.1",
|
|
24
|
+
"pytest>=8.0.0",
|
|
25
|
+
"pytest-asyncio>=0.24.0",
|
|
24
26
|
]
|
|
25
27
|
|
|
26
28
|
[tool.uv.build-backend]
|
|
27
29
|
module-root = ""
|
|
28
30
|
|
|
29
31
|
[build-system]
|
|
30
|
-
requires = ["uv_build>=0.9.14,<0.
|
|
32
|
+
requires = ["uv_build>=0.9.14,<0.12.0"]
|
|
31
33
|
build-backend = "uv_build"
|
|
32
34
|
|
|
33
35
|
[tool.black]
|
|
@@ -44,3 +46,6 @@ select = ["E", "F", "W", "I", "UP", "G"]
|
|
|
44
46
|
[tool.pyrefly]
|
|
45
47
|
python-version = "3.11"
|
|
46
48
|
ignore-missing-imports = []
|
|
49
|
+
|
|
50
|
+
[tool.pytest.ini_options]
|
|
51
|
+
asyncio_mode = "strict"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|