SABER
saber_plot Namespace Reference

Variables

 parser = argparse.ArgumentParser()
 
 help
 
 args = parser.parse_args()
 
list plot_list = ["avg","diag","dirac","lct","lct_cor","local_diag_cor","local_diag_loc","normality","randomization","sampling_grids","umf","var"]
 
list done_list = ["normality","sampling_grids","lct","lct_cor"]
 
dictionary done = {}
 
dictionary alias_list
 
string testfig = args.testdata + "/" + args.test + "/fig"
 
 suffix = f.split("test_" + args.mpi + "-" + args.omp + "_")[1][:-(len(f.rsplit(".")[-1])+1)]
 
dictionary plot_alias = alias_list[plot]
 
 module = __import__(plot_alias)
 
 func = getattr(module, plot_alias)
 
string message = "<html><head></head><body><h1>" + args.test + "</h1><ul>"
 
 short_name = f.replace("test_" + args.mpi + "-" + args.omp + "_", "").replace(".jpg", "")
 
string cmd = "mogrify -trim " + os.path.join(args.testdata, args.test, "fig", f)
 
 f = open(os.path.join(args.testdata, args.test, "fig", "index_" + args.mpi + "-" + args.omp + ".html"), "w")
 

Variable Documentation

◆ alias_list

dictionary saber_plot.alias_list
Initial value:
1 = {
2  "avg": "avg",
3  "diag": "diag",
4  "dirac": "contour_centered",
5  "lct": "contour_positive",
6  "lct_cor": "lct_cor",
7  "local_diag_cor": "contour_positive",
8  "local_diag_loc": "contour_positive",
9  "normality": "normality",
10  "randomization": "randomization",
11  "sampling_grids": "sampling_grids",
12  "umf": "umf",
13  "var": "contour_positive"
14 }

Definition at line 23 of file saber_plot.py.

◆ args

saber_plot.args = parser.parse_args()

Definition at line 14 of file saber_plot.py.

◆ cmd

string saber_plot.cmd = "mogrify -trim " + os.path.join(args.testdata, args.test, "fig", f)

Definition at line 74 of file saber_plot.py.

◆ done

dictionary saber_plot.done = {}

Definition at line 22 of file saber_plot.py.

◆ done_list

list saber_plot.done_list = ["normality","sampling_grids","lct","lct_cor"]

Definition at line 21 of file saber_plot.py.

◆ f

saber_plot.f = open(os.path.join(args.testdata, args.test, "fig", "index_" + args.mpi + "-" + args.omp + ".html"), "w")

Definition at line 79 of file saber_plot.py.

◆ func

saber_plot.func = getattr(module, plot_alias)

Definition at line 56 of file saber_plot.py.

◆ help

saber_plot.help

Definition at line 9 of file saber_plot.py.

◆ message

string saber_plot.message = "<html><head></head><body><h1>" + args.test + "</h1><ul>"

Definition at line 65 of file saber_plot.py.

◆ module

saber_plot.module = __import__(plot_alias)

Definition at line 55 of file saber_plot.py.

◆ parser

saber_plot.parser = argparse.ArgumentParser()

Definition at line 8 of file saber_plot.py.

◆ plot_alias

dictionary saber_plot.plot_alias = alias_list[plot]

Definition at line 54 of file saber_plot.py.

◆ plot_list

list saber_plot.plot_list = ["avg","diag","dirac","lct","lct_cor","local_diag_cor","local_diag_loc","normality","randomization","sampling_grids","umf","var"]

Definition at line 20 of file saber_plot.py.

◆ short_name

saber_plot.short_name = f.replace("test_" + args.mpi + "-" + args.omp + "_", "").replace(".jpg", "")

Definition at line 68 of file saber_plot.py.

◆ suffix

saber_plot.suffix = f.split("test_" + args.mpi + "-" + args.omp + "_")[1][:-(len(f.rsplit(".")[-1])+1)]

Definition at line 50 of file saber_plot.py.

◆ testfig

string saber_plot.testfig = args.testdata + "/" + args.test + "/fig"

Definition at line 43 of file saber_plot.py.