Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tcs_ready_to_take_data integration for on-sky images #149

Merged
merged 2 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions doc/news/DM-46179.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extend TCS readiness check to other image types beyond OBJECT, such as:
ENGTEST, CWFS and ACQ.

Configure TCS synchronization to the following script:

- auxtel/build_pointing_model.py
- auxtel/correct_pointing.py
- auxtel/latiss_acquire.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ def __init__(self, index: int, remotes: bool = True) -> None:

if remotes:
self.atcs = ATCS(domain=self.domain, log=self.log)
self.latiss = LATISS(domain=self.domain, log=self.log)
self.latiss = LATISS(
domain=self.domain,
log=self.log,
tcs_ready_to_take_data=self.atcs.ready_to_take_data,
)
else:
self.atcs = ATCS(
domain=self.domain, log=self.log, intended_usage=ATCSUsages.DryTest
Expand Down
6 changes: 5 additions & 1 deletion python/lsst/ts/externalscripts/auxtel/correct_pointing.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ def __init__(self, index: int, remotes: bool = True) -> None:

if remotes:
self.atcs = ATCS(domain=self.domain, log=self.log)
self.latiss = LATISS(domain=self.domain, log=self.log)
self.latiss = LATISS(
domain=self.domain,
log=self.log,
tcs_ready_to_take_data=self.atcs.ready_to_take_data,
)
else:
self.atcs = ATCS(
domain=self.domain, log=self.log, intended_usage=ATCSUsages.DryTest
Expand Down
10 changes: 8 additions & 2 deletions python/lsst/ts/externalscripts/auxtel/latiss_acquire.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,16 @@ def __init__(self, index, add_remotes: bool = True):

atcs_usage = None if add_remotes else ATCSUsages.DryTest

self.atcs = ATCS(domain=self.domain, intended_usage=atcs_usage, log=self.log)

tcs_ready_to_take_data = self.atcs.ready_to_take_data if add_remotes else None

self.latiss = LATISS(
domain=self.domain, intended_usage=latiss_usage, log=self.log
domain=self.domain,
intended_usage=latiss_usage,
log=self.log,
tcs_ready_to_take_data=tcs_ready_to_take_data,
)
self.atcs = ATCS(domain=self.domain, intended_usage=atcs_usage, log=self.log)

self.image_in_oods_timeout = 15.0

Expand Down
Loading