# fix the parser as main parser object of the TimeSeriesAggregator object
self.parser=parser
defparse_input(self):
...
...
@@ -70,21 +59,8 @@ class TimeSeriesAggregator:
#self.output_path = args.output[0]
#if not os.path.isdir(self.output_path):
# os.makedirs(self.output_path)
# set the marker and label_text if given, otherwise None
ifargs.marker_pos_xisnotNone:
self.marker_pos_x=args.marker_pos_x[0]
else:
self.marker_pos_x=None
ifargs.labelisnotNone:
self.label_text=args.label[0]
else:
self.label_text=None
# get the run number, if given
ifargs.runisnotNone:
self.run=args.run
ifargs.plotAverage:
self.plotAverage=True
defextract_input(self):
...
...
@@ -140,46 +116,21 @@ class TimeSeriesAggregator:
self.agg_latency=agg_frame_latency
self.agg_throughput=agg_frame_throughput
defplot_all_timeseries(self):
defextractDataframe(self):
"""
processes the collected data and generates plots out of the given data
extract the dataframe and save to disk
"""
# THROUGHPUT
# indicate the start of the plotting process
print("Plotting timeseries data...")
#TODO: only clean outliers if values are really outliers, cleaning all values by default will corrupt the data, i.e. determination of an outliers needs to be defined