Mesoscopic dynamics from AdEx recurrent networks (Zerlaut et al JCNS 2018)

 Download zip file 
Help downloading and running models
We present a mean-field model of networks of Adaptive Exponential (AdEx) integrate-and-fire neurons, with conductance-based synaptic interactions. We study a network of regular-spiking (RS) excitatory neurons and fast-spiking (FS) inhibitory neurons. We use a Master Equation formalism, together with a semi-analytic approach to the transfer function of AdEx neurons to describe the average dynamics of the coupled populations. We compare the predictions of this mean-field model to simulated networks of RS-FS cells, first at the level of the spontaneous activity of the network, which is well predicted by the analytical description. Second, we investigate the response of the network to time-varying external input, and show that the mean-field model predicts the response time course of the population. Finally, to model VSDi signals, we consider a one-dimensional ring model made of interconnected RS-FS mean-field units.
1 . Zerlaut Y, Chemla S, Chavane F, Destexhe A (2018) Modeling mesoscopic cortical dynamics using a mean-field model of conductance-based networks of adaptive exponential integrate-and-fire neurons. J Comput Neurosci 44:45-61 [PubMed]
Model Information (Click on a link to find other models with that property)
Model Type: Realistic Network;
Brain Region(s)/Organism:
Cell Type(s): Abstract integrate-and-fire adaptive exponential (AdEx) neuron;
Gap Junctions:
Simulation Environment: Brian 2; Python;
Model Concept(s): Vision;
import sys, os
from graphs.my_graph import *
import matplotlib.pylab as plt
from scipy.stats.stats import pearsonr

def cross_correl_plot(data, FIGSIZE=(7,7), wspace=.5, hspace=.5, right=0.98, left=0.1,\
    'data' should be an array of dictionaries with keys 'vec' and labels 'label'

    fig, AX = plt.subplots(len(data)-1, len(data)-1, figsize=FIGSIZE)
    plt.subplots_adjust(wspace=wspace, hspace=hspace, right=right, left=left)

    mymap = get_linear_colormap(color1='white', color2='gray')

    significance = np.array([1e-3, 2e-2, 1e-1, 1])
    for i in range(len(data)-1):
        for j in range(i+1, len(data)):
            AX[j-1,i].plot(data[i]['vec'], data[j]['vec'], 'ko')
            if not many_data:
                set_plot(AX[j-1,i], xlabel=data[i]['label'], ylabel=data[j]['label'],
                                    num_xticks=4, num_yticks=3)
                if ((i==0) and (j==len(data)-1)):
                    set_plot(AX[j-1,i], xlabel=data[i]['label'], ylabel=data[j]['label'],
                                    num_xticks=4, num_yticks=3)

                elif (j==len(data)-1):
                    set_plot(AX[j-1,i], xlabel=data[i]['label'], yticks_labels=[],
                                    num_xticks=4, num_yticks=3)
                elif (i==0):
                    set_plot(AX[j-1,i], ylabel=data[j]['label'], xticks_labels=[],
                                    num_xticks=4, num_yticks=3)
                    set_plot(AX[j-1,i], xticks_labels=[], yticks_labels=[],
                                    num_xticks=4, num_yticks=3)

            cc, pp = pearsonr(data[i]['vec'], data[j]['vec'])
            x = np.linspace(data[i]['vec'].min(), data[i]['vec'].max())
            AX[j-1, i].plot(x,\
                np.polyval(np.polyfit(np.array(data[i]['vec'], dtype='f8'),\
                                      np.array(data[j]['vec'], dtype='f8'), 1), x),\
                                      'k--', lw=.5)

            ii = np.arange(len(significance))[significance-pp>=0][0]
            color = -1.*(ii-len(significance)+1)/(len(significance)-1)
            xmin, xmax = AX[j-1, i].get_xaxis().get_view_interval()
            ymin, ymax = AX[j-1, i].get_yaxis().get_view_interval()
            AX[j-1, i].add_patch(plt.Rectangle((xmin, ymin),\
                                               xmax-xmin, ymax-ymin, color=mymap(1.*color,1)))

    ax = plt.axes([.7,.7,.02,.2])
                     ax, mymap,\
                     ticks_labels=['n.s.', '$<$0.1', '$<$0.02', '$<$0.001'],
                     label='Significance \n \n (p, Pearson correl.)')
    for ax in AX.flatten():
        if ax.get_xaxis().get_view_interval()[1]==1.:

    return fig

if __name__=='__main__':

    data = []

    import numpy as np

    for i in range(5):
        data.append({'vec':np.random.randn(10), 'label':'label'+str(i+1)})

    cross_correl_plot(data, many_data=True)

Loading data, please wait...