Skip to content

Commit dc0fec7

Browse files
committed
Update LCO And SOAR instruments from configdb
1 parent 495bb51 commit dc0fec7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/aeonlib/ocs/lco/instruments.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file is generated automatically and should not be edited by hand.
2+
13
from typing import Any, Annotated, Literal, Union
24

35
from annotated_types import Le
@@ -279,7 +281,7 @@ class Lco2M0ScicamMuscat(BaseModel):
279281

280282
class LcoBlancoNewfirmOpticalElements(BaseModel):
281283
model_config = ConfigDict(validate_assignment=True)
282-
filter: Literal["JX", "HX", "KXs", "1187", "2096", "1644", "2124", "2168", "J1", "1066", "DARK"]
284+
filter: Literal["JX", "HX", "KXs"]
283285

284286

285287
class LcoBlancoNewfirmGuidingConfig(BaseModel):
@@ -306,7 +308,7 @@ class LcoBlancoNewfirmConfig(BaseModel):
306308
"""The number of exposures to take. This field must be set to a value greater than 0"""
307309
exposure_time: NonNegativeInt
308310
""" Exposure time in seconds"""
309-
mode: Literal["fowler1", "fowler8", "fowler16", "fowler2", "fowler4"]
311+
mode: Literal["fowler1", "fowler2"]
310312
rois: list[Roi] | None = None
311313
extra_params: dict[Any, Any] = {}
312314
optical_elements: LcoBlancoNewfirmOpticalElements

src/aeonlib/ocs/soar/instruments.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file is generated automatically and should not be edited by hand.
2+
13
from typing import Any, Annotated, Literal, Union
24

35
from annotated_types import Le
@@ -37,7 +39,7 @@ class SoarGhtsBluecamConfig(BaseModel):
3739
"""The number of exposures to take. This field must be set to a value greater than 0"""
3840
exposure_time: NonNegativeInt
3941
""" Exposure time in seconds"""
40-
mode: Literal["GHTS_B_400m1_2x2"]
42+
mode: Literal["GHTS_B_600UV_2x2_slit1p5", "GHTS_B_400m1_2x2", "GHTS_B_600UV_2x2_slit1p0", "GHTS_B_930m2_1x2_slit0p45"]
4143
rotator_mode: Literal["SKY"]
4244
rois: list[Roi] | None = None
4345
extra_params: dict[Any, Any] = {}
@@ -144,7 +146,7 @@ class SoarGhtsRedcamConfig(BaseModel):
144146
"""The number of exposures to take. This field must be set to a value greater than 0"""
145147
exposure_time: NonNegativeInt
146148
""" Exposure time in seconds"""
147-
mode: Literal["GHTS_R_1200_CaNIR_6300A_1x2_slit0p8", "GHTS_R_400m1_2x2", "GHTS_R_400m2_2x2", "GHTS_R_1200_CaNIR_1x2_slit0p8", "GHTS_R_2100_5000A_1x2_slit1p0", "GHTS_R_2100_6507A_1x2_slit0p45"]
149+
mode: Literal["GHTS_R_400m1_2x2", "GHTS_R_400m2_2x2"]
148150
rotator_mode: Literal["SKY"]
149151
rois: list[Roi] | None = None
150152
extra_params: dict[Any, Any] = {}

0 commit comments

Comments
 (0)