From 9c77a585253d752b0ffc7e5618951887f8bc0a99 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Fri, 7 Apr 2023 10:32:26 +0200 Subject: [PATCH] Adds a dummy _read_voltage method --- ohmpi.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ohmpi.py b/ohmpi.py index d604e1b6..22d09358 100644 --- a/ohmpi.py +++ b/ohmpi.py @@ -281,7 +281,7 @@ class OhmPi(object): - vmax : compute Vab to reach a maximum Iab and Vmn - constant : apply given Vab tx_volt : float, optional - Voltage apply to try to guess the best voltage. 5 V applied + Voltage to apply for guessing the best voltage. 5 V applied by default. If strategy "constant" is chosen, constant voltage to applied is "tx_volt". @@ -347,7 +347,7 @@ class OhmPi(object): vmn = U2 elif strategy == 'vmax': - # implement different strategy + # implement different strategies I=0 vmn=0 count=0 @@ -753,6 +753,9 @@ class OhmPi(object): warnings.warn('This function is deprecated. Use load_sequence instead.', DeprecationWarning) self.load_sequence(**kwargs) + def _read_voltage(self): + pass + def remove_data(self, cmd_id=None): """Remove all data in the data folder -- GitLab