ankursinha.in/blog

neuroscience/fedora/musings

Wed 24 June 2015

F-I curves for the AdEx neuron model - tonic spiking without adaptation

Posted by ankur in Research (442 words, approximately a 2 minute read)

I'm looking into the Adaptive exponential integrate and fire neuron model (AdEx) in my research at the moment. This neuron model includes various improvements over the simple Leaky integrate and fire (LIF) neuron model. AdEx, depending on various parameters, can exhibit different spiking behaviours. I'm looking at the simplest one at the moment - tonic spiking in the absence of adaptation (a,b=0). With this parameter set, the AdEx is simplified to a simple LIF model. The figure below shows the "firing rate (spikes per second) vs current" graph for different reset voltages (-58mV, -60mV, -65mV, -70mV).

AdEx F-I curve with different reset voltages

The variation here is quite expected - if the neuron is reset to a lower voltage after a spike, it'll take more time to spike again and the firing rate will be less as a result. The second figure shows the membrane potential plotted as a function of time with the reset voltage at -70mV and the external current being given to the neuron is 500pA.

AdEx tonic spiking without adaptation membrane potential with 70mV reset voltage and 500pA external current.

This graph is self-explanatory too. The upswing in membrane potential brought about by the exponential term is quite apparent. The lack of adaptation is shown by the constant inter spike interval (ISI). In the presence of adaptation, the ISI would steadily increase. I've looked in to that too, but I haven't a pretty graph to show at the moment.

The Auryn code required to generate the graphs is given below. You can use a different simulator - Nest or PyNN and so on - and you should receive the same results. I've already verified with Brian.

#include "auryn_global.h"
#include "auryn_definitions.h"
#include "System.h"
#include "SpikeMonitor.h"
#include "VoltageMonitor.h"
#include "Logger.h"
#include "AdExGroup.h"

    int
main ( int ac, char *av[] )
{

    mpi::environment env(ac, av);
    mpi::communicator world;
    communicator = &world;
    logger = new Logger("output.log",world.rank(),PROGRESS,EVERYTHING);
    sys = new System(&world);

    logger->msg("Setting up single neuron ...",PROGRESS,true);
    AdExGroup * neurons_e = new AdExGroup(1);


    /* Parameters for the model */
    neurons_e->set_c_mem(200e-12);
    float g_leak = 10.0;
    neurons_e->set_g_leak((g_leak*1e-9));
    neurons_e->set_e_rest(-70e-3);
    neurons_e->set_e_thr(-50e-3);
    neurons_e->set_a((0.0/g_leak));
    neurons_e->set_tau_w(30e-3);
    neurons_e->set_b((0e-3/g_leak));
    neurons_e->set_e_reset(-58e-3);

    /* External current */
    neurons_e->set_bg_current(0,2000e-3/g_leak);

    /* Output files */
    SpikeMonitor * smon = new SpikeMonitor(neurons_e, "spikes.ras");
    VoltageMonitor * vmon = new VoltageMonitor(neurons_e, 0, "voltages.txt");

    /* Run the simulation */
    sys->run(81);

    return 0;
}

The program outputs two files - a ras file with spike times in it that one can use to calculate the firing rate of the neuron; and a voltages file if you'd like to plot the membrane potential too. More information on these can be found in the Auryn documentation.

I maintain an autotoolised version of Auryn that you can use. I track the development branch there, though, so if you do find bugs, please report them upstream.

I'm looking into AdEx in quite a bit of detail at the moment. I'll write more about it when I run more simulations and generate graphs and things that are worth sharing. Cheers!


 
    
 
 

Comments