Skip to content

an implementation of Hodgkin-Huxley model using python package numpy and brian2

Notifications You must be signed in to change notification settings

HeMuling/Hodgkin-Huxley-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hodgkin-Huxley-model

an implementation of Hodgkin-Huxley model using python

File

cn_HHmodel_raw.py: an implementation purely by numpy

cn_HHmodel_brain2.py: an implementation by brian2

cn_HHmodel_raw_update.py: an implementation purely by numpy, with update which adds a new hyperparameter area of the neuron

brian2 package

info. available on official website: https://brian2.readthedocs.io/en/stable/index.html

installation:

conda install -c conda-forge brian2

Example

example from cn_HHmodel_raw.py

stimulate from 10 sec to 13 sec

stimulate from beginning to end

example from cn_HHmodel_brain2.py

About

an implementation of Hodgkin-Huxley model using python package numpy and brian2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages