diff --git a/ohmpi/hardware_components/mb_2023_0_X.py b/ohmpi/hardware_components/mb_2023_0_X.py index d06e69e108dc29b40f914356a04833e689b4ae40..04a38fb2ed1c3c009c2c25dccb63144febf067b3 100644 --- a/ohmpi/hardware_components/mb_2023_0_X.py +++ b/ohmpi/hardware_components/mb_2023_0_X.py @@ -192,7 +192,7 @@ class Tx(TxAbstract): assert self.adc_voltage_min / (50 * self.r_shunt) <= value <= self.adc_voltage_max / (50 * self.r_shunt) self.exec_logger.warning(f'Current pulse is not implemented for the {self.board_name} board') - def gain_auto_one_pulse(self): + def gain_auto(self): self._adc_gain_auto() def inject(self, polarity=1, injection_duration=None): @@ -301,7 +301,7 @@ class Rx(RxAbstract): self.gain = gain self.exec_logger.event(f'{self.board_name}\trx_adc_auto_gain\tend\t{datetime.datetime.utcnow()}') - def gain_auto_one_pulse(self): + def gain_auto(self): self._adc_gain_auto() @property def voltage(self):