SNABSuite
0.x
Spiking Neural Architecture Benchmark Suite
|
Functions | |
def | histogram_plot (data, xlabel, title="", bins='auto', normed=False) |
Variables | |
parser = argparse.ArgumentParser(description='Plot a histogram') | |
metavar | |
nargs | |
help | |
type | |
str | |
default | |
False | |
action | |
args = parser.parse_args() | |
results = np.recfromtxt(target_file, delimiter=',', loose=True) | |
xlabel = DIM_LABELS[target_file.split(".csv")[0].split("_")[-1]] | |
title = target_file.split("/")[-1].split("_")[0] | |
fig = histogram_plot(results, xlabel, title, bins=args.b, normed=args.n) | |
format | |
bbox_inches | |
def histogram.histogram_plot | ( | data, | |
xlabel, | |||
title = "" , |
|||
bins = 'auto' , |
|||
normed = False |
|||
) |
Definition at line 46 of file histogram.py.
histogram.action |
Definition at line 35 of file histogram.py.
histogram.args = parser.parse_args() |
Definition at line 37 of file histogram.py.
histogram.bbox_inches |
Definition at line 79 of file histogram.py.
histogram.default |
Definition at line 31 of file histogram.py.
histogram.False |
Definition at line 35 of file histogram.py.
histogram.fig = histogram_plot(results, xlabel, title, bins=args.b, normed=args.n) |
Definition at line 77 of file histogram.py.
histogram.format |
Definition at line 78 of file histogram.py.
histogram.help |
Definition at line 28 of file histogram.py.
histogram.metavar |
Definition at line 28 of file histogram.py.
histogram.nargs |
Definition at line 28 of file histogram.py.
histogram.parser = argparse.ArgumentParser(description='Plot a histogram') |
Definition at line 25 of file histogram.py.
histogram.results = np.recfromtxt(target_file, delimiter=',', loose=True) |
Definition at line 68 of file histogram.py.
histogram.str |
Definition at line 31 of file histogram.py.
string histogram.title = target_file.split("/")[-1].split("_")[0] |
Definition at line 71 of file histogram.py.
histogram.type |
Definition at line 31 of file histogram.py.
histogram.xlabel = DIM_LABELS[target_file.split(".csv")[0].split("_")[-1]] |
Definition at line 69 of file histogram.py.