Add unit
This commit is contained in:
parent
e071906d58
commit
a11d83c04a
@ -77,7 +77,7 @@ def measure(
|
|||||||
"""
|
"""
|
||||||
get_time = lambda: datetime.datetime.now().strftime("%Y-%m-%d_%H:%M:%S")
|
get_time = lambda: datetime.datetime.now().strftime("%Y-%m-%d_%H:%M:%S")
|
||||||
if add_measurement_info_to_metadata:
|
if add_measurement_info_to_metadata:
|
||||||
data.metadata["measurement_interval"] = str(delta_t)
|
data.metadata["measurement_interval"] = str(delta_t) + " s"
|
||||||
data.metadata["measurement_use_buffer"] = str(use_buffer)
|
data.metadata["measurement_use_buffer"] = str(use_buffer)
|
||||||
data.metadata["measurement_voltage_device"] = str(vm_dev)
|
data.metadata["measurement_voltage_device"] = str(vm_dev)
|
||||||
data.metadata["measurement_led_device"] = str(led_dev)
|
data.metadata["measurement_led_device"] = str(led_dev)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user