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

Go to the source code of this file.

Namespaces

 histogram
 

Functions

def histogram.histogram_plot (data, xlabel, title="", bins='auto', normed=False)
 

Variables

 histogram.parser = argparse.ArgumentParser(description='Plot a histogram')
 
 histogram.metavar
 
 histogram.nargs
 
 histogram.help
 
 histogram.type
 
 histogram.str
 
 histogram.default
 
 histogram.False
 
 histogram.action
 
 histogram.args = parser.parse_args()
 
 histogram.results = np.recfromtxt(target_file, delimiter=',', loose=True)
 
 histogram.xlabel = DIM_LABELS[target_file.split(".csv")[0].split("_")[-1]]
 
 histogram.title = target_file.split("/")[-1].split("_")[0]
 
 histogram.fig = histogram_plot(results, xlabel, title, bins=args.b, normed=args.n)
 
 histogram.format
 
 histogram.bbox_inches