Skip to content

Commit

Permalink
Adding intended_usage to MTCS and ATCS class instantiations
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesu committed Oct 18, 2024
1 parent 505b24a commit f2a6685
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/lsst/ts/standardscripts/auxtel/take_image_latiss.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
__all__ = ["TakeImageLatiss"]

import yaml
from lsst.ts.observatory.control.auxtel import ATCS, LATISS, LATISSUsages
from lsst.ts.observatory.control.auxtel import ATCS, LATISS, ATCSUsages, LATISSUsages

from ..base_take_image import BaseTakeImage

Expand All @@ -46,7 +46,7 @@ class TakeImageLatiss(BaseTakeImage):
def __init__(self, index):
super().__init__(index=index, descr="Take images with AT Camera")

self.atcs = ATCS(self.domain, log=self.log)
self.atcs = ATCS(self.domain, log=self.log, intended_usage=ATCSUsages.Slew)

self._latiss = LATISS(
self.domain,
Expand Down
3 changes: 2 additions & 1 deletion python/lsst/ts/standardscripts/maintel/take_image_comcam.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import yaml
from lsst.ts.observatory.control.maintel import MTCS
from lsst.ts.observatory.control.maintel.comcam import ComCam, ComCamUsages
from lsst.ts.observatory.control.maintel.mtcs import MTCSUsages

from ..base_take_image import BaseTakeImage

Expand All @@ -49,7 +50,7 @@ def __init__(self, index):

self.config = None

self.mtcs = MTCS(self.domain, log=self.log)
self.mtcs = MTCS(self.domain, log=self.log, intended_usage=MTCSUsages.Slew)

self._comcam = ComCam(
self.domain,
Expand Down

0 comments on commit f2a6685

Please sign in to comment.