diff --git a/src/experiments/algorithms/distribution_csv.py b/src/experiments/algorithms/distribution_csv.py index 4f32eac..7f7495b 100644 --- a/src/experiments/algorithms/distribution_csv.py +++ b/src/experiments/algorithms/distribution_csv.py @@ -22,6 +22,7 @@ def calcNormalFunc(mean : float, sd : float, len : int): DATASET_PATH = "dataset\\" CSV_PATH = "src\\experiments\\algorithms\\data\\" BARK_TYPES = 8 +CSV_SAVE = False ## Arrays ## avgs_bgr = [[[],[],[]] for x in range(BARK_TYPES)] @@ -132,6 +133,9 @@ for i in range(BARK_TYPES): plt.show() ## CSVs ## +if not CSV_SAVE: + exit() + # BGR mean and std # with open(CSV_PATH + "bgr_stats.csv", 'w', newline='') as file: file.write("label,avg_b,avg_g,avg_r,std_b,std_g,std_r,\n")