Loading scripts/create_histograms.py +6 −4 Original line number Diff line number Diff line Loading @@ -9,12 +9,14 @@ import matplotlib.pyplot as plt BINS_4_COLS = { "MLD": [0, 1, 2, 3, 4, 5, 10, 20, math.inf], "MAXIMUM ABS DIFF": [0, 16, 256, 1024, 2048, 4096, 8192, 16384, 32769], "SSNR": [-math.inf, 0, 10, 20, 30, 40, 40, 50, 60, 100], "ODG": [-5, -4, -3, -2, -1, -0.5, -0.4, -0.3, -0.2, -0.1, 0, 0.1, 0.5], "MAX_ABS_DIFF": [0, 16, 256, 1024, 2048, 4096, 8192, 16384, 32769], "MIN_SSNR": [-math.inf, 0, 10, 20, 30, 40, 40, 50, 60, 100], "MIN_ODG": [-5, -4, -3, -2, -1, -0.5, -0.4, -0.3, -0.2, -0.1, 0, 0.1, 0.5], "DELTA_ODG": [-5, -4, -3, -2, -1, -0.5, -0.4, -0.3, -0.2, -0.1, 0, 0.1, 0.5], } MEASURES_TO_PLOT = ["MAX_ABS_DIFF", "MLD", "MIN_SSNR", "MIN_ODG"] if __name__ == "__main__": parser = argparse.ArgumentParser( Loading @@ -28,7 +30,7 @@ if __name__ == "__main__": args = parser.parse_args() df = pd.read_csv(args.csv_report) measures = ["MAXIMUM ABS DIFF"] measures = MEASURES_TO_PLOT formats = df["format"].unique() categories = df["category"].unique() Loading Loading
scripts/create_histograms.py +6 −4 Original line number Diff line number Diff line Loading @@ -9,12 +9,14 @@ import matplotlib.pyplot as plt BINS_4_COLS = { "MLD": [0, 1, 2, 3, 4, 5, 10, 20, math.inf], "MAXIMUM ABS DIFF": [0, 16, 256, 1024, 2048, 4096, 8192, 16384, 32769], "SSNR": [-math.inf, 0, 10, 20, 30, 40, 40, 50, 60, 100], "ODG": [-5, -4, -3, -2, -1, -0.5, -0.4, -0.3, -0.2, -0.1, 0, 0.1, 0.5], "MAX_ABS_DIFF": [0, 16, 256, 1024, 2048, 4096, 8192, 16384, 32769], "MIN_SSNR": [-math.inf, 0, 10, 20, 30, 40, 40, 50, 60, 100], "MIN_ODG": [-5, -4, -3, -2, -1, -0.5, -0.4, -0.3, -0.2, -0.1, 0, 0.1, 0.5], "DELTA_ODG": [-5, -4, -3, -2, -1, -0.5, -0.4, -0.3, -0.2, -0.1, 0, 0.1, 0.5], } MEASURES_TO_PLOT = ["MAX_ABS_DIFF", "MLD", "MIN_SSNR", "MIN_ODG"] if __name__ == "__main__": parser = argparse.ArgumentParser( Loading @@ -28,7 +30,7 @@ if __name__ == "__main__": args = parser.parse_args() df = pd.read_csv(args.csv_report) measures = ["MAXIMUM ABS DIFF"] measures = MEASURES_TO_PLOT formats = df["format"].unique() categories = df["category"].unique() Loading