Striatal FSI and SPN oscillation model (Chartove et al. 2020)

 Download zip file 
Help downloading and running models
Our model consists of three interconnected populations of single or double compartment Hodgkin-Huxley neurons: a feedforward network of FSIs, and two networks of SPNs (the D1 receptor-expressing "direct pathway" subnetwork and the D2 receptor-expressing "indirect pathway" subnetwork).
1 . Chartove JA, McCarthy MM, Pittman-Polletta BR, Kopell NJ (2020) A biophysical model of striatal microcircuits suggests gamma and beta oscillations interleaved at delta/theta frequencies mediate periodicity in motor control PLOS Computational Biology 16:1-30
Citations  Citation Browser
Model Information (Click on a link to find other models with that property)
Model Type: Neuron or other electrically excitable cell;
Brain Region(s)/Organism: Striatum;
Cell Type(s): Neostriatum medium spiny direct pathway GABA cell; Neostriatum medium spiny indirect pathway GABA cell; Neostriatum fast spiking interneuron;
Channel(s): I Potassium; I M;
Gap Junctions: Gap junctions;
Receptor(s): Dopaminergic Receptor;
Transmitter(s): Dopamine; Gaba;
Simulation Environment: DynaSim;
Model Concept(s): Oscillations; Beta oscillations; Gamma oscillations; Theta oscillations;
Implementer(s): Chartove, Julia A K [chartove at bu dot edu];
Search NeuronDB for information about:  Neostriatum medium spiny direct pathway GABA cell; Neostriatum medium spiny indirect pathway GABA cell; Dopaminergic Receptor; I M; I Potassium; Dopamine; Gaba;
%READ_WRITE_ENTIRE_TEXTFILE Read or write a whole text file to/from memory
% Read or write an entire text file to/from memory, without leaving the
% file open if an error occurs.
% Reading:
%   fstrm = read_write_entire_textfile(fname)
% Writing:
%   read_write_entire_textfile(fname, fstrm)
%   fname - Pathname of text file to be read in.
%   fstrm - String to be written to the file, including carriage returns.
%   fstrm - String read from the file. If an fstrm input is given the
%           output is the same as that input. 

function fstrm = read_write_entire_textfile(fname, fstrm)
modes = {'rt', 'wt'};
writing = nargin > 1;
fh = fopen(fname, modes{1+writing});
if fh == -1
    error('Unable to open file %s.', fname);
    if writing
        fwrite(fh, fstrm, 'char*1');
        fstrm = fread(fh, '*char')';
catch ex