SNABSuite
0.x
Spiking Neural Architecture Benchmark Suite
|
Functions | |
def | cm2inch (value) |
def | round_to_divisable (value, divisable) |
def | plot_measure2d (xs, ys, zs, xlabel, ylabel, zlabel="", zmin=None, zmax=None, qualitative=False, contour=True, title=None) |
Variables | |
parser = argparse.ArgumentParser(description='Plot two-dimensional images') | |
type | |
float | |
help | |
int | |
default | |
action | |
required | |
True | |
metavar | |
nargs | |
args = parser.parse_args() | |
simulator = target_file.split('_')[-1].split('.csv')[0] | |
experiment = target_file.split('/')[-1].split(simulator)[0] | |
results = np.genfromtxt(target_file, delimiter=',', names=True) | |
keys = results.dtype.names | |
data = np.zeros((results.shape[0], len(keys))) | |
fig | |
format | |
bbox_inches | |
def 2dim_plot.cm2inch | ( | value | ) |
Definition at line 54 of file 2dim_plot.py.
def 2dim_plot.plot_measure2d | ( | xs, | |
ys, | |||
zs, | |||
xlabel, | |||
ylabel, | |||
zlabel = "" , |
|||
zmin = None , |
|||
zmax = None , |
|||
qualitative = False , |
|||
contour = True , |
|||
title = None |
|||
) |
Definition at line 75 of file 2dim_plot.py.
def 2dim_plot.round_to_divisable | ( | value, | |
divisable | |||
) |
Definition at line 58 of file 2dim_plot.py.
2dim_plot.action |
Definition at line 36 of file 2dim_plot.py.
2dim_plot.args = parser.parse_args() |
Definition at line 44 of file 2dim_plot.py.
2dim_plot.bbox_inches |
Definition at line 163 of file 2dim_plot.py.
2dim_plot.data = np.zeros((results.shape[0], len(keys))) |
Definition at line 148 of file 2dim_plot.py.
2dim_plot.default |
Definition at line 35 of file 2dim_plot.py.
2dim_plot.experiment = target_file.split('/')[-1].split(simulator)[0] |
Definition at line 143 of file 2dim_plot.py.
2dim_plot.fig |
Definition at line 152 of file 2dim_plot.py.
2dim_plot.float |
Definition at line 32 of file 2dim_plot.py.
2dim_plot.format |
Definition at line 162 of file 2dim_plot.py.
2dim_plot.help |
Definition at line 32 of file 2dim_plot.py.
2dim_plot.int |
Definition at line 35 of file 2dim_plot.py.
2dim_plot.keys = results.dtype.names |
Definition at line 147 of file 2dim_plot.py.
2dim_plot.metavar |
Definition at line 42 of file 2dim_plot.py.
2dim_plot.nargs |
Definition at line 42 of file 2dim_plot.py.
2dim_plot.parser = argparse.ArgumentParser(description='Plot two-dimensional images') |
Definition at line 29 of file 2dim_plot.py.
2dim_plot.required |
Definition at line 41 of file 2dim_plot.py.
2dim_plot.results = np.genfromtxt(target_file, delimiter=',', names=True) |
Definition at line 146 of file 2dim_plot.py.
2dim_plot.simulator = target_file.split('_')[-1].split('.csv')[0] |
Definition at line 142 of file 2dim_plot.py.
2dim_plot.True |
Definition at line 41 of file 2dim_plot.py.
2dim_plot.type |
Definition at line 32 of file 2dim_plot.py.