Commit 91365255 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Fixes small glitches

Showing with 2 additions and 2 deletions
+2 -2
......@@ -162,7 +162,7 @@ class OhmPiHardware:
else:
_readings = self.readings.tolist()
if sampling_rate is None:
sampling_rate = self.tx.sampling_rate
sampling_rate = self.rx.sampling_rate
sample = 0
self.exec_logger.info(f'values when starting pulse {self._pulse} : {self.tx.current} mA, {self.rx.voltage} mV')
self.rx.voltage
......@@ -291,7 +291,7 @@ class OhmPiHardware:
ax[1].plot(self.readings[:, 0], self.readings[:, 2] * self.readings[:, 4], '-b', marker='.', label='vmn')
ax[1].set_ylabel('Vmn [mV]')
ax[2].plot(self.readings[:, 0], self.readings[:, 1], '-g', marker='.', label='pulse')
ax[2].set_ylabel('Vmn [mV]')
ax[2].set_ylabel('polarity [-]')
fig.legend()
plt.show()
......
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