From 049b275665e961f8d27c3f54347842e4560f8f68 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Thu, 3 Aug 2017 16:43:32 +0100 Subject: Instrumentation: Update to store sample rate in MeasurementCSV file. This commit updates existing instruments to store their sample rates when creating the respective MeasurementCsv files. --- devlib/instrument/energy_probe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devlib/instrument/energy_probe.py') diff --git a/devlib/instrument/energy_probe.py b/devlib/instrument/energy_probe.py index ed502f5..5f47430 100644 --- a/devlib/instrument/energy_probe.py +++ b/devlib/instrument/energy_probe.py @@ -113,4 +113,4 @@ class EnergyProbeInstrument(Instrument): continue else: not_a_full_row_seen = True - return MeasurementsCsv(outfile, self.active_channels) + return MeasurementsCsv(outfile, self.active_channels, self.sample_rate_hz) -- cgit v1.2.3