Commit e9664430 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Fixes warning on select_samples

Showing with 1 addition and 1 deletion
+1 -1
...@@ -300,7 +300,7 @@ class OhmPiHardware: ...@@ -300,7 +300,7 @@ class OhmPiHardware:
t_start_pulse = min(self.readings[v, 0]) t_start_pulse = min(self.readings[v, 0])
x.append(np.where((self.readings[:, 0] >= t_start_pulse + delay) & (self.readings[:, 2] != 0) & ( x.append(np.where((self.readings[:, 0] >= t_start_pulse + delay) & (self.readings[:, 2] != 0) & (
self.readings[:, 1] == pulse))[0]) self.readings[:, 1] == pulse))[0])
x = np.concatenate(np.array(x)) x = np.concatenate(np.array(x, dtype='object'))
return x return x
def last_resistance(self, delay=0.): def last_resistance(self, delay=0.):
......
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