diff --git a/ohmpi.py b/ohmpi.py index 86e92232f8e25d2be78f34828a4139c937b54057..ed1f456ca4712a2dbeccc58f1cedb6194a4d430c 100644 --- a/ohmpi.py +++ b/ohmpi.py @@ -110,7 +110,7 @@ class OhmPi(object): # default acquisition settings self.settings = { 'injection_duration': 0.2, - 'nbr_meas': 1, + 'nb_meas': 1, 'sequence_delay': 1, 'nb_stack': 1, 'export_path': 'data/measurement.csv' @@ -205,7 +205,7 @@ class OhmPi(object): Parameters can be: - nb_electrodes (number of electrode used, if 4, no MUX needed) - injection_duration (in seconds) - - nbr_meas (total number of times the sequence will be run) + - nb_meas (total number of times the sequence will be run) - sequence_delay (delay in second between each sequence run) - nb_stack (number of stack for each quadrupole measurement) - export_path (path where to export the data, timestamp will be added to filename) @@ -1249,7 +1249,7 @@ class OhmPi(object): 'Increase the sequence delay') # sleeping time between sequence - if self.settings["nbr_meas"] > 1: + if self.settings["nb_meas"] > 1: time.sleep(sleep_time) # waiting for next measurement (time-lapse) self.status = 'idle' diff --git a/ohmpi_settings.json b/ohmpi_settings.json index 800f0421427efe8b56d1688d2a1f6edfded129b2..8d4907d7a2f3c971bec8dfd529cfbec10aa7bb7b 100644 --- a/ohmpi_settings.json +++ b/ohmpi_settings.json @@ -2,7 +2,7 @@ "nb_electrodes": 64, "injection_duration": 0.2, "nb_stack": 1, - "nb_meas" : 1, + "nb_meas": 1, "sequence_delay": 1, "export_path": "data/measurement.csv" }