strip_plots.py#
This script makes two jitter plots for all scenarios; one for the mean and one for the 95% empirical quantile of the response times.
- Parameters:
DATA_DIRECTORY (str) – The folder, relative to the
ROOT_DIRECTORY
(automatically determined), where the input data is located.RESULTS_DIRECTORY (str) – The folder, relative to the
ROOT_DIRECTORY
(automatically determined), where the output files should be saved.SCENARIO (str) – The scenario names that should be considered.
MEAN_RESPONSE_TIME_FILE (str) – The name of the file that contains the data set with the mean response times. Note that the files should have a “Ei” suffix, where “i” stands for the percentage increase of the energy consumption compared to the base. For example, if a 20% increase should be considered, use “20”. The scenario name is automatically added by the script according to the value of
SCENARIO
in a for-loop.EMP_Q_FILE (str) – The name of the file that contains the data set with the 95% empirical quantile of the response times. Note that the files should have a “Ei” suffix, where “i” stands for the percentage increase of the energy consumption compared to the base. For example, if a 20% increase should be considered, use “20”. The scenario name is automatically added by the script according to the value of
SCENARIO
in a for-loop.PLOT_NAME (str) – The name of the plot if it is saved.
RUN_PARAMETERS_FILE_NAME (str) – The name of the text file with the script parameters if
SAVE_PLOT=True
.ENERGY_COUNTER (list[int] | None) – A list with the percentage increase of the energy consumption compared to the base. For example, if a 20% increase should be considered, use “20”.
SAVE_PLOT (bool) – Whether the plot should be saved or not.
MEAN_SPACING (float) – The spacing of the mean bar.
BORDER (float) – Extra padding for the x-axis limits.