pyobs-brot 2.0.0.dev2__tar.gz → 2.0.0.dev4__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 (20) hide show
  1. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/PKG-INFO +2 -2
  2. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/pyobs_brot/brottelescope.py +14 -8
  3. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/pyproject.toml +2 -2
  4. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/uv.lock +5 -5
  5. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/.github/workflows/pypi.yml +0 -0
  6. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/.github/workflows/ruff.yml +0 -0
  7. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/.gitignore +0 -0
  8. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/.pre-commit-config.yaml +0 -0
  9. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/.readthedocs.yml +0 -0
  10. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/LICENSE +0 -0
  11. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/README.md +0 -0
  12. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/docs/Makefile +0 -0
  13. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/docs/make.bat +0 -0
  14. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/docs/requirements.txt +0 -0
  15. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/docs/source/_static/pyobs.gif +0 -0
  16. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/docs/source/conf.py +0 -0
  17. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/docs/source/index.rst +0 -0
  18. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/pyobs_brot/__init__.py +0 -0
  19. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/pyobs_brot/brotdome.py +0 -0
  20. {pyobs_brot-2.0.0.dev2 → pyobs_brot-2.0.0.dev4}/pyobs_brot/brotroof.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobs-brot
3
- Version: 2.0.0.dev2
3
+ Version: 2.0.0.dev4
4
4
  Summary: pyobs module for BROTlib telescopes
5
5
  Author-email: Tim-Oliver Husser <thusser@uni-goettingen.de>, Lukas Melzig <lukas.melzig@stud.uni-goettingen.de>
6
6
  License-Expression: MIT
@@ -9,4 +9,4 @@ Requires-Python: >=3.11
9
9
  Requires-Dist: astropy<8,>=7.0.1
10
10
  Requires-Dist: paho-mqtt>=2.1.0
11
11
  Requires-Dist: pybrotlib>=1.0.0
12
- Requires-Dist: pyobs-core<3,>=2.0.0.dev6
12
+ Requires-Dist: pyobs-core<3,>=2.0.0.dev20
@@ -9,6 +9,7 @@ from pybrotlib.transport import MQTTTransport # type: ignore
9
9
  from pyobs.interfaces import (
10
10
  AltAzOffsetState,
11
11
  AltAzState,
12
+ FitsHeaderEntry,
12
13
  FocuserState,
13
14
  IFocuser,
14
15
  IOffsetsAltAz,
@@ -185,6 +186,9 @@ class BrotBaseTelescope(
185
186
  return
186
187
  await asyncio.sleep(1)
187
188
 
189
+ async def _set_tracking_rate(self, ra_rate: float, dec_rate: float) -> None:
190
+ raise NotImplementedError
191
+
188
192
  async def set_focus(self, focus: float, **kwargs: Any) -> None:
189
193
  await self._change_motion_status(MotionStatus.SLEWING, interface="IFocuser")
190
194
  await self.brot.focus.set(focus + self.focus_offset)
@@ -305,11 +309,12 @@ class BrotRaDecTelescope(BrotBaseTelescope, IOffsetsRaDec):
305
309
 
306
310
  async def get_fits_header_before(
307
311
  self, namespaces: list[str] | None = None, **kwargs: Any
308
- ) -> dict[str, tuple[Any, str]]:
312
+ ) -> dict[str, FitsHeaderEntry]:
309
313
  hdr = await BrotBaseTelescope.get_fits_header_before(self)
310
- hdr["TEL-FOCU"] = (self.brot.focus.position, "Focus position [mm]")
311
- hdr["HAOFF"] = (self.brot.telescope._telemetry.POSITION.INSTRUMENTAL.HA.OFFSET, "Hour Angle offset")
312
- hdr["DECOFF"] = (self.brot.telescope._telemetry.POSITION.INSTRUMENTAL.DEC.OFFSET, "Declination offset")
314
+ tel = self.brot.telescope._telemetry
315
+ hdr["TEL-FOCU"] = FitsHeaderEntry(self.brot.focus.position, "Focus position [mm]")
316
+ hdr["HAOFF"] = FitsHeaderEntry(tel.POSITION.INSTRUMENTAL.HA.OFFSET, "Hour Angle offset")
317
+ hdr["DECOFF"] = FitsHeaderEntry(tel.POSITION.INSTRUMENTAL.DEC.OFFSET, "Declination offset")
313
318
  return self._filter_fits_namespace(hdr, namespaces=namespaces, **kwargs)
314
319
 
315
320
  async def add_pointing_measurement(self, **kwargs: Any) -> None:
@@ -352,11 +357,12 @@ class BrotAltAzTelescope(BrotBaseTelescope, IOffsetsAltAz, IPointingSeries):
352
357
 
353
358
  async def get_fits_header_before(
354
359
  self, namespaces: list[str] | None = None, **kwargs: Any
355
- ) -> dict[str, tuple[Any, str]]:
360
+ ) -> dict[str, FitsHeaderEntry]:
361
+ tel = self.brot.telescope._telemetry
356
362
  hdr = await BrotBaseTelescope.get_fits_header_before(self)
357
- hdr["TEL-FOCU"] = (self.brot.focus.position, "Focus position [mm]")
358
- hdr["HAOFF"] = (self.brot.telescope._telemetry.POSITION.INSTRUMENTAL.HA.OFFSET, "Hour Angle offset")
359
- hdr["DECOFF"] = (self.brot.telescope._telemetry.POSITION.INSTRUMENTAL.DEC.OFFSET, "Declination offset")
363
+ hdr["TEL-FOCU"] = FitsHeaderEntry(self.brot.focus.position, "Focus position [mm]")
364
+ hdr["HAOFF"] = FitsHeaderEntry(tel.POSITION.INSTRUMENTAL.HA.OFFSET, "Hour Angle offset")
365
+ hdr["DECOFF"] = FitsHeaderEntry(tel.POSITION.INSTRUMENTAL.DEC.OFFSET, "Declination offset")
360
366
  return self._filter_fits_namespace(hdr, namespaces=namespaces, **kwargs)
361
367
 
362
368
  async def add_pointing_measurement(self, **kwargs: Any) -> None:
@@ -1,13 +1,13 @@
1
1
  [project]
2
2
  name = "pyobs-brot"
3
- version = "2.0.0.dev2"
3
+ version = "2.0.0.dev4"
4
4
  description = "pyobs module for BROTlib telescopes"
5
5
  authors = [{ name = "Tim-Oliver Husser", email = "thusser@uni-goettingen.de" }, { name = "Lukas Melzig", email = "lukas.melzig@stud.uni-goettingen.de" }]
6
6
  requires-python = ">=3.11"
7
7
  license = "MIT"
8
8
  dependencies = [
9
9
  "astropy>=7.0.1,<8",
10
- "pyobs-core>=2.0.0.dev6,<3",
10
+ "pyobs-core>=2.0.0.dev20,<3",
11
11
  "paho-mqtt>=2.1.0",
12
12
  "pybrotlib>=1.0.0",
13
13
  ]
@@ -1783,7 +1783,7 @@ wheels = [
1783
1783
 
1784
1784
  [[package]]
1785
1785
  name = "pyobs-brot"
1786
- version = "2.0.0.dev2"
1786
+ version = "2.0.0.dev4"
1787
1787
  source = { editable = "." }
1788
1788
  dependencies = [
1789
1789
  { name = "astropy" },
@@ -1805,7 +1805,7 @@ requires-dist = [
1805
1805
  { name = "astropy", specifier = ">=7.0.1,<8" },
1806
1806
  { name = "paho-mqtt", specifier = ">=2.1.0" },
1807
1807
  { name = "pybrotlib", specifier = ">=1.0.0" },
1808
- { name = "pyobs-core", specifier = ">=2.0.0.dev6,<3" },
1808
+ { name = "pyobs-core", specifier = ">=2.0.0.dev20,<3" },
1809
1809
  ]
1810
1810
 
1811
1811
  [package.metadata.requires-dev]
@@ -1818,7 +1818,7 @@ dev = [
1818
1818
 
1819
1819
  [[package]]
1820
1820
  name = "pyobs-core"
1821
- version = "2.0.0.dev6"
1821
+ version = "2.0.0.dev20"
1822
1822
  source = { registry = "https://pypi.org/simple" }
1823
1823
  dependencies = [
1824
1824
  { name = "aiohttp" },
@@ -1848,9 +1848,9 @@ dependencies = [
1848
1848
  { name = "tenacity" },
1849
1849
  { name = "typing-extensions" },
1850
1850
  ]
1851
- sdist = { url = "https://files.pythonhosted.org/packages/ca/1f/f3ff220ff8cc908198a130f98aacb2bd0c9963befd9d0757bcff13800f84/pyobs_core-2.0.0.dev6.tar.gz", hash = "sha256:ee8f98c4299064a2383666b349cf87af98f9c3de437048e8b56dcb2817e0024b", size = 299899, upload-time = "2026-06-30T17:39:36.203Z" }
1851
+ sdist = { url = "https://files.pythonhosted.org/packages/86/ce/29738c727e1a5ccc723365892f308b24641ff3211f2718a40beb56f62b9e/pyobs_core-2.0.0.dev20.tar.gz", hash = "sha256:aceee8391e9f16520004c2bd08da0e5c2ab3550901777410feeff9535845c8c1", size = 323624, upload-time = "2026-07-15T08:59:47.278Z" }
1852
1852
  wheels = [
1853
- { url = "https://files.pythonhosted.org/packages/17/b6/3875a77f1206ef5d02d5ac43ae9fd90ba96be7857fe4308dfc0c599eec16/pyobs_core-2.0.0.dev6-py3-none-any.whl", hash = "sha256:542a78b069cac525cc72b9fc5fce8983629f8f0a240ff5ee722617886a8c9c13", size = 508486, upload-time = "2026-06-30T17:39:34.739Z" },
1853
+ { url = "https://files.pythonhosted.org/packages/e2/2e/a28066bd81ff4995502d35a4a855fa1e5b9f724c828defab67c6430a4eaf/pyobs_core-2.0.0.dev20-py3-none-any.whl", hash = "sha256:501e91bc9f2a30b216180d7a1e25ecd214fcc512f905c7b9950c2c0a1f903f23", size = 541148, upload-time = "2026-07-15T08:59:45.826Z" },
1854
1854
  ]
1855
1855
 
1856
1856
  [[package]]
File without changes