Skip to content

bloyl/hnn-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hnn-core

Gitter

Build Status

Test coverage

This is a leaner and cleaner version of the code based off the HNN repository. However, a Graphical User Interface is not supported at the moment in this repository.

It is early Work in Progress. Contributors are very welcome.

Dependencies

Installation

We recommend the Anaconda Python distribution. To install hnn-core, you first need to install its dependencies:

$ conda install numpy matplotlib scipy

For joblib, you can do:

$ pip install joblib

Additionally, you would need Neuron which is available here: https://neuron.yale.edu/neuron/

If you want to install the latest version of the code (nightly) use:

$ pip install https://api.github.com/repos/hnnsolver/hnn-core/zipball/master

If you do not have admin privileges on the computer, use the --user flag with pip. To upgrade, use the --upgrade flag provided by pip.

To check if everything worked fine, you can do:

$ python -c 'import hnn_core'

and it should not give any error messages.

A final step to the installation process is to compile custom ionic channel mechanisms using nrnivmodl from Neuron. To do this, simple do:

$ make

It should create a directory with the compiled mechanisms.

Bug reports

Use the github issue tracker to report bugs.

About

Simulation and optimization of neural circuits for MEG/EEG source estimates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.1%
  • AMPL 10.8%
  • Makefile 0.1%