Skip to content
Snippets Groups Projects
Commit 96000ba4 authored by Martin Killenberg's avatar Martin Killenberg
Browse files

include sweep anaysis

parent 9ca9ab09
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ import sys ...@@ -5,6 +5,7 @@ import sys
import prototype import prototype
import json import json
import time import time
import analysis
class TestStandMainWindow(QMainWindow): class TestStandMainWindow(QMainWindow):
def __init__(self, qt_app, *args, **kwargs): def __init__(self, qt_app, *args, **kwargs):
...@@ -40,6 +41,8 @@ class TestStandMainWindow(QMainWindow): ...@@ -40,6 +41,8 @@ class TestStandMainWindow(QMainWindow):
temp_extensions = [] temp_extensions = []
for t in temperatures: for t in temperatures:
temp_extensions.append(str(t)+'deg_'+str(self.fixedParameter.value())+'rh') temp_extensions.append(str(t)+'deg_'+str(self.fixedParameter.value())+'rh')
analysis.plot_sweep(temperatures, [self.fixedParameter.value()]*len(temperatures), output_basename,
'temperature')
prototype.plot_output(output_basename, temp_extensions, True, output_basename + prototype.plot_output(output_basename, temp_extensions, True, output_basename +
': Temperature sweep ' + str(temperatures[0]) + '--' + ': Temperature sweep ' + str(temperatures[0]) + '--' +
str(temperatures[-1]) + ' degC @ '+ str(self.fixedParameter.value()) + ' % r.h.') str(temperatures[-1]) + ' degC @ '+ str(self.fixedParameter.value()) + ' % r.h.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment