Activity-dependent recruitment of inhibition and excitation in the awake mammalian cortex during electrical stimulation

Published: 13 November 2023| Version 1 | DOI: 10.17632/tzwps2dykh.1
Maria Dadarlat,


This dataset was produced in order to understand how inhibitory neurons responded to high-frequency electrical stimulation. To generate this dataset, we used five transgenic mice in which inhibitory neurons were labeled with a red fluorescent marker (Gad2-IRES-Cre with reporter line Ai14). These mice were injected in three locations in primary visual cortex with a virus that transfects both excitatory and inhibitory neurons in order to express a fluorescent indicator of calcium concentration. In order to stimulate neural activity, mice were chronically implanted with a single Pt/IR electrode approximately 200 um below the cortical surface. In order to record stimulation-evoked responses, mice were also chronically implanted with a glass cranial window, centered over the tip of the stimulating electrode. Neural responses to stimulation were then recorded at 15.5 Hz across three imaging planes using a 2-photon microscope (Neurolabware). Stimulation was delivered as a burst of 25 stimulation pulses (250 Hz) once every ten seconds for 90 trials. The amplitude of the stimulation current was chosen in a pseudo-random order from the set of [3,5,10,15,20,25,30,40, and 50 uA] for a total of ten trials at each stimulation amplitude. We analyzed the data to identify any differences between stimulation-evoked activity in excitatory and inhibitory neurons as a function of stimulation amplitude, looking at measures such as the amplitude of neural responses to stimulation, the volume and density of neural responses, and the dependence of neural activation on pre-stimulus neural activity levels. We found significant differences between activation of inhibitory and excitatory neurons to electrical stimulation, particularly in the spatial pattern of activation and in neurons’s dependence on pre-stimulus activity levels. Here we provide the data used for this analysis. There were five mice used in the analysis and we have neural data and information about the stimulation patterns used in each. Note that the neural data contains pre-processed output from Suite2p, including variables that were unused in our analysis. A full description of the data contained in these filetypes can be found at To run our code, please download all of the data folders (GAD1,GADA,GADB,GADC,GADD) as well as “epos.mat” and all of the analysis files (ComputeBehEffectRespTypespub.m, ComputeByRecruitRespTypespub.m, db.m, StimAnalysis.m, InitAnalysis.m). The main file is StimAnalysis.m and needs to be placed in the same folder as the rest of the files and folders in this dataset. By running StimAnalysis.m, you will be able to re-create the figures from our manuscript “Activity-dependent recruitment of inhibition and excitation in the awake mammalian cortex during electrical stimulation.”



University College London Institute of Ophthalmology, University of California San Francisco, Purdue University


Neuroscience, Systems Neuroscience, Brain Stimulation, Electrical Stimulation, Sensory Processing