HeMuling / Hodgkin-Huxley-model

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Python 100.0%