smdc_perftests package¶
Submodules¶
smdc_perftests.helper module¶
Helper functions Created on Wed Apr 1 14:50:18 2015
@author: christoph.paulik@geo.tuwien.ac.at
-
smdc_perftests.helper.
generate_date_list
(minimum, maximum, n=500, max_spread=30, min_spread=None)[source]¶ Parameters: minimum: datetime
minimum datetime
maximum: datetime
maximum datetime
n: int
number of dates to generate
max_spread: int, optional
maximum spread between dates
min_spread: int, optional
minimum spread between dates
Returns: date_list: list
list of start, end lists The format is a list of lists e.g. [[datetime(2007,1,1), datetime(2007,1,1)],
[datetime(2007,1,1), datetime(2007,12,31)]]
smdc_perftests.visual module¶
Module for visualizing the test results Created on Tue Nov 25 13:44:56 2014
@author: Christoph.Paulik@geo.tuwien.ac.at
-
smdc_perftests.visual.
plot_boxplots
(*args, **kwargs)[source]¶ plots means and confidence intervals of given TestResults objects
Parameters: *args: TestResults instances
any Number of TestResults instances that should be plotted side by side
conf_level: int, optional
confidence level to use for the computed confidence intervals
**kwargs: varied
all other keyword arguments will be passed on to the plt.subplots function
Returns: fig: matplotlib.Figure
ax1: matplotlib.axes