# TODO: add sampling_interval -> impact on _hw.rx.sampling_rate (store the current value, change the _hw.rx.sampling_rate, do the measurement, reset the sampling_rate to the previous value)
# TODO: default value of tx_volt and other parameters set to None should be given in config.py and used in function definition
# TODO: add rs_check option (or propose an other way to do this)
# TODO: implement compute_tx_volt for injection strategies
"""Measures on a quadrupole and returns transfer resistance.
Parameters
...
...
@@ -476,13 +474,8 @@ class OhmPi(object):
positive, one negative).
injection_duration : int, optional
Injection time in seconds.
best_tx_injtime: float, optional
???
autogain : bool, optional
If True, will adapt the gain of the ADS1115 to maximize the
resolution of the reading.
strategy : str, optional
(V3.0 only) If we search for best voltage (tx_volt == 0), we can choose
Default: conUsed if power is adjustable (e.g. dps5005)If we search for best voltage (tx_volt == 0), we can choose
vmax strategy : find the highest voltage that stays in the range