Commit daaee846 authored by Henri Payno's avatar Henri Payno
Browse files

current: only register current with start_time if find only one electric current

parent 33fa0a94
Pipeline #74633 failed with stages
in 3 minutes and 59 seconds
......@@ -537,9 +537,6 @@ class StandardAcquisition(BaseAcquisition):
new_know_electric_currents[
str_datetime_to_numpy_datetime64(start_time)
] = (electric_currents[0] * unit_factor)
new_know_electric_currents[
str_datetime_to_numpy_datetime64(end_time)
] = (electric_currents[0] * unit_factor)
else:
# linspace from datetime within ms precision.
# see https://localcoder.org/creating-numpy-linspace-out-of-datetime#credit_4
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment