From 2275c25ff5caa5d5858fe4db91a4736c6c7c07f1 Mon Sep 17 00:00:00 2001 From: Tristan Pinsonneault-Marotte Date: Fri, 21 Jun 2024 16:55:11 -0700 Subject: [PATCH] fix: rename 'Array' registers --- python/pysmurf/client/command/smurf_command.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/python/pysmurf/client/command/smurf_command.py b/python/pysmurf/client/command/smurf_command.py index bfe3938e..2fb666ac 100644 --- a/python/pysmurf/client/command/smurf_command.py +++ b/python/pysmurf/client/command/smurf_command.py @@ -1366,7 +1366,7 @@ def get_amplitude_scales(self, band, **kwargs): self._cryo_root(band) + self._amplitude_scales_reg, **kwargs) - _amplitude_scale_array_reg = 'amplitudeScaleArray' + _amplitude_scale_array_reg = 'amplitudeScale' def set_amplitude_scale_array(self, band, val, **kwargs): """ @@ -1414,7 +1414,7 @@ def set_amplitude_scale_array_currentchans(self, band, tone_power, new_amp[np.where(old_amp!=0)] = tone_power self.set_amplitude_scale_array(self, new_amp, **kwargs) - _feedback_enable_array_reg = 'feedbackEnableArray' + _feedback_enable_array_reg = 'feedbackEnable' def set_feedback_enable_array(self, band, val, **kwargs): """ @@ -1815,7 +1815,7 @@ def get_feedback_enable(self, band, **kwargs): self._band_root(band) + self._feedback_enable_reg, **kwargs) - _loop_filter_output_array_reg = 'loopFilterOutputArray' + _loop_filter_output_array_reg = 'loopFilterOutput' def get_loop_filter_output_array(self, band, **kwargs): """ @@ -1843,7 +1843,7 @@ def get_tone_frequency_offset_mhz(self, band, **kwargs): self._tone_frequency_offset_mhz_reg, **kwargs) - _center_frequency_array_reg = 'centerFrequencyArray' + _center_frequency_array_reg = 'centerFrequency' def set_center_frequency_array(self, band, val, **kwargs): """ @@ -1876,7 +1876,7 @@ def get_feedback_gain(self, band, **kwargs): self._band_root(band) + self._feedback_gain_reg, **kwargs) - _eta_phase_array_reg = 'etaPhaseArray' + _eta_phase_array_reg = 'etaPhase' def set_eta_phase_array(self, band, val, **kwargs): """ @@ -1892,7 +1892,7 @@ def get_eta_phase_array(self, band, **kwargs): self._cryo_root(band) + self._eta_phase_array_reg, **kwargs) - _frequency_error_array_reg = 'frequencyErrorArray' + _frequency_error_array_reg = 'frequencyError' def set_frequency_error_array(self, band, val, **kwargs): """ @@ -1908,7 +1908,7 @@ def get_frequency_error_array(self, band, **kwargs): self._cryo_root(band) + self._frequency_error_array_reg, **kwargs) - _eta_mag_array_reg = 'etaMagArray' + _eta_mag_array_reg = 'etaMag' def set_eta_mag_array(self, band, val, **kwargs): """