Skip to content

Commit

Permalink
fix(uxm_setup.turn_on_fixed_tones): Docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristpinsm committed Sep 16, 2024
1 parent be4c3f1 commit c6ca77d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion sodetlib/operations/uxm_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,22 @@ def setup_fixed_tones(
return fixed_tones


# TODO does this work even without a call to `tracking_setup`?
@sdl.set_action()
def turn_on_fixed_tones(S, cfg, band):
"""
Read fixed tones from the device config and ensure the corresponding channels
are set to the specified amplitude and have feedback disabled.
Args
----
S : SmurfControl
Pysmurf instance
cfg : DetConfig
DetConfig instance
band : int
The band to operate on.
"""

# try to read from config
try:
foff = cfg.dev.bands[band]["fixed_tones"]["freq_offsets"]
Expand Down

0 comments on commit c6ca77d

Please sign in to comment.