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

feat(smurf_util.turn_on_fixed_tones) #796

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

tristpinsm
Copy link
Collaborator

Description

Add a function to turn on fixed tones, to facilitate integration into sodetlib.

...

Jira Issue

ESCRYODET-

Tests done on this branch

Function interfaces that changed

[Indicate here what is the interface that changed, preferably with a link to the code where the interface is defined]

What was the interface before the change

[Describe here how was the original interface]

What will be the new interface after the change

[Describe here how is the new interface, and what the difference with the original interface]

@github-actions github-actions bot added the client Changes to the client code label Sep 9, 2024
feedback[channels] = 0

self.set_amplitude_scale_array(band, amp)
self.set_feedback_enable_array(band, amp)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo, needs to be feedback not amp in line 3858

@@ -3844,6 +3844,19 @@ def turn_off_fixed_tones(self,band):
# set by array, not by channel
self.set_amplitude_scale_array(band,new_amplitude_scale_array)

def turn_on_fixed_tones(self, band, channels, tone_power=None):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What sets the frequency for these channels?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Changes to the client code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants