Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:python_binary_toolkit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
manual:python_binary_toolkit [2016/08/10 19:17] – Changes page title zenkemanual:python_binary_toolkit [2016/08/10 19:24] – [Example: Get membrane potential from BinaryStateMonitor file] zenke
Line 119: Line 119:
  
 sf = AurynBinaryStateFile(filename) sf = AurynBinaryStateFile(filename)
-spikes = np.array(sf.get_data(t_from, t_to))+mem = np.array(sf.get_data(t_from, t_to))
  
-pl.plot(spikes[:,0], spikes[:,1])+pl.plot(mem[:,0], mem[:,1])
 pl.xlabel("Time [s]") pl.xlabel("Time [s]")
 pl.ylabel("Membrane potential [V]") pl.ylabel("Membrane potential [V]")
manual/python_binary_toolkit.txt · Last modified: 2016/08/30 18:21 by zenke