Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:python_tools

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
manual:python_tools [2016/08/30 18:20] – created zenkemanual:python_tools [2016/08/30 18:27] – [Example: Spiking statistics] Changes section title zenke
Line 60: Line 60:
 The output should look similar to the plot above. The output should look similar to the plot above.
  
 +===== Example: Vogels plot (overview spiking statistics) =====
  
 +<code python>
 +import numpy as np
 +import pylab as pl
 +from auryntools import *
 +from auryntools.stats import *
 +
 +filename  =  "/tmp/coba.0.e.spk"
 +sf = AurynBinarySpikeFile(filename)
 +spikes = sf.get_spikes()
 +vogels_plot(spikes)
 +</code>
 +
 +
 +Gives the following output on the above spiking data from the Vogels Abbott benchmark.
 +{{ :manual:auryn_python_vp.png |}}
 ===== Example: Compute a neurons receptive field via reverse correlations ===== ===== Example: Compute a neurons receptive field via reverse correlations =====
  
manual/python_tools.txt · Last modified: 2016/08/30 18:50 by zenke