Skip to content

Commit

Permalink
adding optical configuration to xml
Browse files Browse the repository at this point in the history
  • Loading branch information
parfa30 committed Sep 6, 2024
1 parent a16574f commit ab43f1e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/news/interface_changes/DM-46165.tunablelaser.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adding in Optical Configuration enum for TunableLaser
15 changes: 15 additions & 0 deletions python/lsst/ts/xml/enums/TunableLaser.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,21 @@ class LaserDetailedState(enum.IntEnum):
PROPAGATING_CONTINUOUS_MODE = 3
PROPAGATING_BURST_MODE = 4

class OpticalConfiguration(enum.StrEnum):
"""Configuration of the optical output"""

SCU = "SCU"
"""Pass the beam straight-through the SCU."""
F1_SCU = "F1 SCU"
"""Direct the beam through the F1 after passing through the SCU."""
F2_SCU = "F2 SCU"
"""Direct the beam through the F2 after passing through the SCU."""
NO_SCU = "No SCU"
"""Pass the beam straight-through."""
F1_NO_SCU = "F1 No SCU"
"""Pass the beam to F1 output."""
F2_NO_SCU = "F2 No SCU"
"""Pass the beam to F2 output."""

class LaserErrorCode(enum.IntEnum):
"""Laser error codes"""
Expand Down

0 comments on commit ab43f1e

Please sign in to comment.