SNABSuite  0.x
Spiking Neural Architecture Benchmark Suite
Namespaces | Functions | Variables
1dim_plot.py File Reference

Go to the source code of this file.

Namespaces

 1dim_plot
 

Functions

def 1dim_plot.cm2inch (value)
 
def 1dim_plot.plot_measure (ax, xs, ys, ys_std, color, simulator, xlabel, ylabel, ys_ref=None, first=True, ymin=None, ymax=None)
 
def 1dim_plot.normalize (data, norm)
 
def 1dim_plot.get_max (data)
 
def 1dim_plot.get_min (data)
 

Variables

 1dim_plot.parser = argparse.ArgumentParser(description='Plot one-dimensional graphs')
 
 1dim_plot.help
 
 1dim_plot.action
 
 1dim_plot.type
 
 1dim_plot.float
 
 1dim_plot.int
 
 1dim_plot.default
 
 1dim_plot.str
 
 1dim_plot.required
 
 1dim_plot.True
 
 1dim_plot.metavar
 
 1dim_plot.nargs
 
 1dim_plot.args = parser.parse_args()
 
 1dim_plot.fig = plt.figure(figsize=(cm2inch(12), cm2inch(6.0)))
 
 1dim_plot.ax = fig.add_subplot(111)
 
 1dim_plot.results = np.genfromtxt(target_file, delimiter=',', names=True)
 
 1dim_plot.keys = results.dtype.names
 
 1dim_plot.data = np.zeros((results.shape[0], len(keys)))
 
 1dim_plot.xs = np.array(data[:, args.x])
 
 1dim_plot.ys = np.array(data[:, args.y])
 
 1dim_plot.ys_dev = None
 
 1dim_plot.xlabel = DIM_LABELS[keys[args.x]]
 
 1dim_plot.ylabel = DIM_LABELS[keys[args.y]]
 
 1dim_plot.max = get_max(np.abs(ys))
 
 1dim_plot.simulator = target_file.split('_')[-1].split('.csv')[0].split('.')[-1]
 
 1dim_plot.color
 
 1dim_plot.ymin
 
 1dim_plot.ymax
 
 1dim_plot.loc
 
 1dim_plot.bbox_to_anchor
 
 1dim_plot.ncol
 
 1dim_plot.format
 
 1dim_plot.bbox_inches
 
 1dim_plot.o