Brian2

The Brian2 Python package is a package that allows for clock driven spiking neural network simulations.

Syntax
We start off by importing the Brian2 package. import brian2 Then we define the NeuronGroup, specifying the number of neurons, the differential equation describing the neuron model, the spiking treshold value, the reset value en the refractory period. NeuronGroup(N, eqs,    threshold='V>V_th', reset='V=V_r', refractory='tau_ref', method='euler') After that we define the synaptic connections. This means that we specify which neurons are connected (directed connections) with which, and whether they're excitatory or inhibitory connections. After that we set which neurons are connected to each other.This can be done by manually specifying which neuron connects to which neuron. S.connect(i=5, j=10) And also by letting the neurons connect randomly with a certain probability p. S.connect(p=0.1)

Output
The output Brian2 gives is for each neuron when it fires. From this activity graphs and excitation levels can be plotted.