NESTML

Last modified by abonard on 2025/04/10 15:15

Beginner

Creating neuron models – Spike-frequency adaptation (SFA)

Level: beginner  Type: interactive tutorial

Spike-frequency adaptation (SFA) is the empirically observed phenomenon where the firing rate of a neuron decreases for a sustained, constant stimulus. Learn how to model SFA using threshold adaptation and an adaptation current.

Creating neuron models – Izhikevich tutorial

Level: beginner  Type: interactive tutorial

Learn how to start to use NESTML by writing the Izhikevich spiking neuron model in NESTML.

Advanced

Creating synapse models – Dopamine-modulated STDP synapse

Level: advanced  Type: interactive tutorial

Adding dopamine modulation to the weight update rule of an STDP synapse allows it to be used in reinforcement learning tasks. This allows a network to learn which of the many cues and actions preceding a reward should be credited for the reward. In this tutorial, a dopamine-modulated STDP model is created in NESTML, and we characterize the model before using it in a network (reinforcement) learning task.

Creating synapse models – Triplet STDP synapse

Level: advanced  Type: interactive tutorial

A triplet STDP rule is sensitive to third-order correlations of pre- and postsynaptic spike times, and accounts better for experimentally seen dependence on timing and frequency. In this tutorial, we will learn to formulate triplet rule (which considers sets of three spikes, i.e., two presynaptic and one postsynaptic spikes or two postsynaptic and one presynaptic spikes) for Spike Timing-Dependent Plasticity (STDP) learning model using NESTML and simulate it with NEST simulator.

Creating synapse models – Active dendrite third-factor STDP synapse

Level: advanced  Type: interactive tutorial

An STDP rule that is modulated by a “third factor”, in this case the dendritic action potential current of the postsynaptic neuron with an active dendrite.
In this tutorial, the neuron with dendritic action potentials from the NESTML active dendrite tutorial is combined with a spike-timing dependent synaptic plasticity model. The dendritic action potential current acts as the “third factor” in the learning rule (in addition to pre- and postsynaptic spike timings) and is used to gate the weight update: changes in the weight can only occur during the postsynaptic neuron’s dendritic action potential.

Creating synapse models – STDP windows

Level: advanced  Type: interactive tutorial

An STDP window describes how the strength of the synapse changes as a function of the relative timing of pre- and postsynaptic spikes. In this tutorial we will be implementing several different STDP model variants with different window functions in NESTML.

Creating neuron models – Inhomogeneous Poisson generator

Level: advanced  Type: interactive tutorial

This tutorial will show you how to create a model that emits spikes according to an inhomogeneous Poisson distribution.

Creating neuron models – Ornstein-Uhlenbeck noise tutorial

Level: advanced  Type: interactive tutorial

This tutorial will show you how to implement the Ornstein-Uhlenbeck process in NESTML and use it to inject a noise current into a neuron.

Creating neuron models – Active dendrite tutorial

Level: advanced  Type: interactive tutorial

This tutorial will show you how to model a dendritic action potential in an existing NESTML neuron.