Na channel mutations in the dentate gyrus (Thomas et al. 2009)

 Download zip file 
Help downloading and running models
Accession:123848
These are source files to generate the data in Figure 6 from "Mossy fiber sprouting interacts with sodium channel mutations to increase dentate gyrus excitability" Thomas EA, Reid CA, Petrou S, Epilepsia (2009)
Reference:
1 . Thomas EA, Reid CA, Petrou S (2010) Mossy fiber sprouting interacts with sodium channel mutations to increase dentate gyrus excitability. Epilepsia 51:136-45 [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): Dentate gyrus granule GLU cell; Dentate gyrus mossy cell; Dentate gyrus basket cell; Dentate gyrus hilar cell;
Channel(s): I Na,t; I A; I K; I K,leak; I K,Ca; I Calcium;
Gap Junctions:
Receptor(s): GabaA; AMPA;
Gene(s):
Transmitter(s): Gaba; Glutamate;
Simulation Environment: parplex;
Model Concept(s): Ion Channel Kinetics; Epilepsy;
Implementer(s): Thomas, Evan [evan at evan-thomas.net];
Search NeuronDB for information about:  Dentate gyrus granule GLU cell; GabaA; AMPA; I Na,t; I A; I K; I K,leak; I K,Ca; I Calcium; Gaba; Glutamate;
"""
 * Copyright (C) 2004 Evan Thomas
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or (at
 * your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
"""

"""-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
     This script is used to build and install user C language extensions
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*"""

import sys, re
from distutils.core import setup, Extension

def guess_modname(files):
    exp = '\s*MAKE_P3_MODEL\s*\(\s*(.+)\s*,'
    for fn in files:
        f = open(fn)
        ls = f.readlines()
        for l in ls:
            o = re.search(exp, l)
            if o:
                return o.group(1)
        

if sys.argv[1]=='-d':
    debug = True
    del sys.argv[1]
else:
    debug = False

srcfiles = sys.argv[1:]

name = guess_modname(srcfiles)

if debug:
    sys.argv[1:] = ['build_ext', '--inplace', '--debug']
else:
    sys.argv[1:] = ['build_ext', '--inplace']


defmac = [('MPI', 1)]
E = Extension(name,  srcfiles, define_macros=defmac)
setup(ext_modules=[E])

if debug:
    import os
    # When using the debug flag the load module will be
    # called name_d.pyd. Rename it to name.pyd, but don't
    # rename the debug symbol thingy name_d.pdb
    os.system('mv %s_d.pyd %s.pyd' % (name, name))

Loading data, please wait...