An open API service indexing awesome lists of open source software.

https://github.com/bergio13/hh-model

Hodgkin–Huxley model implementation in julia
https://github.com/bergio13/hh-model

action-potential julia neuron neuroscience simulation

Last synced: 16 days ago
JSON representation

Hodgkin–Huxley model implementation in julia

Awesome Lists containing this project

README

          

# Hodgkin-Huxley Neuron Model in Julia

## Overview

This Julia script implements the Hodgkin-Huxley (HH) model to simulate the electrical activity of a neuron. The HH model describes how action potentials in neurons are initiated and propagated through voltage-gated ion channels.

The model simulates the membrane potential over time, taking into account sodium (Na⁺), potassium (K⁺), and leak (L) ion channels, as well as an external stimulus current.

The script includes two implementations of the HH model: one for a single compartment and one for multiple compartments.

## Contents

- `HH_single.jl` contains the implementation of the HH model for a single compartment
- `HH_multi.jl` contains the implementation of the HH model for multiple compartments

## Results

### Single Compartment

![Hodgkin-Huxley Model Simulation (Single Compartment)](https://github.com/bergio13/hh_model/blob/main/images/hh_single.png?raw=true)

### Multi Compartment

![Hodgkin-Huxley Model Simulation (Multi Compartment)](https://github.com/bergio13/hh_model/blob/main/images/multi_plots.png?raw=true)

## Credits

The code is a julia implementation inspired and derived from the Python code provided by Professor Paul Werginz at TU Wien, Austria for the course "Computational Methods in Neural Engineering" (363.002).