This repository contains code for (1) generating example neural responses from an Izhikevich model, and (2) fitting a GLM to neural responses.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Create .gitignore Sep 12, 2017
README.md Updated Readme Jul 20, 2018
compare_glm_to_iz.m Added first version of code that generates Izhikevich neuron response… May 13, 2017
demo_glm_fitting_and_simulation.m Updated Readme Jul 20, 2018
fit_glm.m Updated default parameters in glm_example to reproduce Figure 2. Upda… Dec 12, 2017
generate_izhikevich_stim.m Updated default parameters in glm_example to reproduce Figure 2. Upda… Dec 12, 2017
glm_param_sweep.m Updated parameters for Izhikevich neuron simulation and created glm_p… Sep 12, 2017
logexp1.m Added first version of code that generates Izhikevich neuron response… May 13, 2017
makeBasis_PostSpike.m Added first version of code that generates Izhikevich neuron response… May 13, 2017
makeBasis_StimKernel.m Added first version of code that generates Izhikevich neuron response… May 13, 2017
negloglike_glm_basis.m Added first version of code that generates Izhikevich neuron response… May 13, 2017
negloglike_glm_basis_softRect.m Added first version of code that generates Izhikevich neuron response… May 13, 2017
normalizecols.m Added first version of code that generates Izhikevich neuron response… May 13, 2017
sameconv.m Added first version of code that generates Izhikevich neuron response… May 13, 2017
simulate_glm.m Added first version of code that generates Izhikevich neuron response… May 13, 2017
simulate_izhikevich.m Updated default parameters in glm_example to reproduce Figure 2. Upda… Dec 12, 2017

README.md

GLM_and_Izhikevich

Associated with publication (Weber & Pillow 2017), this repository contains Matlab code for:

  1. generating simulated neural responses that reproduce a variety of dynamic spiking behaviors using the Izhikevich neuron model [2,3].

  2. fitting a Poisson generalized linear model (GLM) to neural responses.

To get started, open demo_glm_fitting_and_simulation.m.

fit_glm.m is the main function used to fit a Poisson GLM to data.

References

  1. Weber, A.I. & Pillow, J.W. Capturing the dynamical repertoire of single neurons with generalized linear models. Neural Computation, 2017 29(12):3260-3289 link.

  2. Izhikevich, E. M. Simple model of spiking neurons. IEEE Trans Neural Netw, 2003 (14): 1569-1572.

  3. Izhikevich, E. M. Which model to use for cortical spiking neurons? IEEE Trans Neural Netw 2004 (15): 1063-1070.