Skip to content

Commit

Permalink
added supplemental group id call
Browse files Browse the repository at this point in the history
  • Loading branch information
psferguson committed Jan 31, 2024
1 parent f1db894 commit 9aafdaa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions doc/news/DM-41684.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
In ``auxtel/latiss_base_align.py`` added `self.next_supplemented_group_id()` call so that intra and extra focal images have the same group id.
(`DM-41684 <https://jira.lsstcorp.org/browse/DM-41684>`_)
6 changes: 4 additions & 2 deletions python/lsst/ts/externalscripts/auxtel/latiss_base_align.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,12 @@ async def take_intra_extra(self) -> None:

self.log.debug("Taking intra-focal image")

supplemented_group_id = self.next_supplemented_group_id()

intra_image = await self.latiss.take_cwfs(
exptime=self.exposure_time,
n=1,
group_id=self.group_id,
group_id=supplemented_group_id,
filter=self.filter,
grating=self.grating,
reason="INTRA" + ("" if self.reason is None else f"_{self.reason}"),
Expand All @@ -269,7 +271,7 @@ async def take_intra_extra(self) -> None:
extra_image = await self.latiss.take_cwfs(
exptime=self.exposure_time,
n=1,
group_id=self.group_id,
group_id=supplemented_group_id,
filter=self.filter,
grating=self.grating,
reason="EXTRA" + ("" if self.reason is None else f"_{self.reason}"),
Expand Down

0 comments on commit 9aafdaa

Please sign in to comment.