GithubHelp home page GithubHelp logo

kuznetsova2010's Introduction

Kuznetsova2010

A python version of the hoc code from Kuznetsova et al, 2010. This version is hybrid - loads in the cell morphology from dopamine.hoc. Many other commands are issued in hoc using h(). Some are directly in python, as is plotting.

Running the model

Make sure to compile the mechanisms first:

In the directory of the model code, compile the *.mod mechanisms by running the following command in a terminal:

On Windows, run mknrndll On Mac and Linux, run nrnivmodl

Alternatively, open the NEURON Application folder (or program folder from the Start menu on Windows) and launch the mknrndll tool. When the gui appears, select the folder containing the code for Kuznetsova et al 2010. Then click the button to make nrnmech.dll.

After the mechanisms are successfully compiled, run main.py to receive a prompt asking which figure you would like to view. Answer the prompt with an input such as 2a2 or 6. You will need to wait several minutes for the simulation to run and then generate the figure.

You can continue to plot as many figures as you want before answering the prompt with q or quit.

The control trace (Figure 2a2) is slightly different than the screen shot provided in the original model repository. However, so is the hoc version when I run it; perhaps the authors made a change to their model after preparing the publication figures and before uploading to ModelDB.

kuznetsova2010's People

Contributors

mbezaire avatar

Watchers

 avatar

Forkers

23changy tealiza

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.