GithubHelp home page GithubHelp logo

orena1 / neuron_tutorial Goto Github PK

View Code? Open in Web Editor NEW
29.0 2.0 8.0 8.2 MB

Tutorial for understanding how to use NEURON simulation environment

Home Page: https://twitter.com/Oren_Amsalem

Jupyter Notebook 26.63% AMPL 11.82% AGS Script 60.16% Python 1.39%
neuron tutorial

neuron_tutorial's Introduction

This tutorial will help you understand how to use The NEURON simulation environment

Main

Instructions

In order to use this tutorial, you need to install NEURON (How_to_Install_NEURON.txt); after installing NEURON, you can decide whether to use jupyter notebook or Python scripts.

You will also need to compile to mod files. For example, if you decide to use the Jupyter_notebooks

Linux/Mac:

  1. Open Terminal
  2. Go to Jupyter_notebooks directory
  3. Type: nrnivmodl mods

Windows:

  1. Move all files from the folder mods to the base-directory
  2. Use the following instructions (second section - Compiling mod files in NEURON 5.1 and later), choose the base-directory that now contains all the mod files

After completing the installations download the NEURON_tutorial.pptx and follow the instructions in the presentation. Suggested exercises are available in the slides notes (The presentation is also available here: https://1drv.ms/p/s!ApfBr7JWIT35mj3A1Sjcw3hKNCdF?e=4yG34n)

Feel free to open Issues if you find any bugs, or have any suggestions.

You can follow my latest research on Twitter

neuron_tutorial's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

neuron_tutorial's Issues

Do not understand how to insert mechanism

For example, soma.insert('kv') gives me an error message "not a density mechanism".
I do not find how to do it. I tried insertin "hh" and then change conductancies but the results are not the one i find in the tutorial.
Thank you

LookupError: 'tstop' is not a defined hoc variable name

Hi,

I followed the instruction and have compiled the mods.However ,a LookupError happened when I tried to run the example in Jupyter Notebook.

---------------------------------------------------------------------------
LookupError                               Traceback (most recent call last)
<ipython-input-6-0f2c77b59e6a> in <module>
----> 1 h.tstop = 220
      2 h.dt = 0.025
      3 h.v_init=-70
      4 h.run()

LookupError: 'tstop' is not a defined hoc variable name.

Any idea what I'm doing wrong? Otherwise,I use pip3 install neuron instead of downloading the NEURON installer.

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.