Giter Site home page Giter Site logo

189308's Introduction

<html><pre>
This is a multicompartmental Hodgkin-Huxley-type of model of a goldfish Mauthner cell. The building and usage of the model is
described in "Differential processing in modality-specific Mauthner cell dendrites" by Violeta Medan, Tuomo Maki-Marttunen,
Julieta Sztarker, and Thomas Preuss, Journal of Physiology (2017). The model is implemented in NEURON with Python interface.

Tuomo Maki-Marttunen, 2013-2017 (CC-BY 4.0).


Code files included:

I1.mod                                            # A mod file for a sodium-type current
I2.mod                                            # A mod file for a potassium-type current
mcell.hoc                                         # An HOC file for running the simulations with square and ramp stimuli
mcell.py                                          # A Python library for running the simulations, both one with square+ramp
                                                  #   stimuli at soma and one with stimuli at the ends of dendrites. For an
                                                  #   example on how to use the library, see runfit.py (the only script
                                                  #   where this library is used)
mcell_activedend_varycoeffsL.py                   # A Python library for simulations with active dendrites
mcell_activedend_varycoeffs_activeL.py            # A Python library for simulations with active ventral dendrite
minimizedimbydim.py                               # A Python library for minimizing a function dimension by dimension
mosinit.hoc                                       # An HOC file that runs mcell.hoc
mytools.py                                        # General Python tools
neurmorph.hoc                                     # The neuron model initialization file
neurmorph_activedend.hoc                          # The neuron model initialization file, including active dendrites
runfit.py                                         # A Python script for optimizing the neuron model parameters
runmauthner.py                                    # A Python script for running simulations for Figure 7B
runmauthner_activedend_decays_varycond.py         # A Python script for running simulations for Figure 9A
runmauthner_activedend_decays_varycond_activeL.py # A Python script for running simulations for Figure 9A


Data files included:

experimental_data.mat               # A MATLAB file with experimental data with square and ramp stimuli
fit.eps                             # Figure 7B. Saved by runmauthner.py
decay_orders_robustness.eps         # Figure 9A. Saved by runmauthner_activedend_decays.py.
decay_orders_robustness_activeL.eps # Figure 9B. Saved by runmauthner_activedend_decays_varycond.py.


Data files saved by the scripts:

run*.dat                                # Data produced by mcell.hoc. Not used in this entry, however, as mcell.hoc is run
                                        # from the Python interface (in runmauther.py) and the data is thus saved in the memory.
activedend_decays_varyconds.sav         # Data for Figure 9A. Saved by runmauthner_activedend_decays.py. Used only if the
                                        # script is run for a second time.
activedend_decays_varyconds_activeL.sav # Data for Figure 9B. Saved by runmauthner_activedend_decays_activeL.py. Used only if the
                                        # script is run for a second time.

Before running the simulations, compile the mod files by typing

<font color=green>
nrnivmodl
</font>

For simulating the model and plotting the results (in Python), run

<font color=green>
python runmauthner.py
python runmauthner_activedend_decays_varycond.py
python runmauthner_activedend_decays_varycond_activeL.py
</font>

Output from runmauthner.py:
<img src="./fit.png" width="550" alt="Image resulting from runmauthner.py">

Output from runmauthner_activedend_decays_varycond.py:
<img src="./decay_orders_robustness.png" width="550" alt="Image resulting from runmauthner_activedend_decays_varycond.py">

Output from runmauthner_activedend_decays_varycond_activeL.py:
<img src="./decay_orders_robustness_activeL.png" width="550" alt="Image resulting from runmauthner_activedend_decays_varycond_activeL.py">
The second and third simulations are relatively heavy (take approximately half an hour on a standard computer),
and once finished, the results are saved in activedend_decays_varyconds.sav and activedend_decays_varyconds_activeL.sav
for possible later use.

Alternatively, the model can be run with the HOC interpreter as follows

<font color=green>
nrniv mcell.hoc
</font>

</pre></html>

189308's People

Contributors

tommorse avatar

Watchers

James Cloos avatar  avatar Robert A McDougal avatar  avatar

Forkers

opensourcebrain

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.