edNEGmodel is an implementation of the KNP continuity equations for a one-dimensional system containing six compartments: two representing a neuron, two representing extracellular space, and two representing glia. The model is presented in Sætra et al., PLoS Computational Biology, 17(7), e1008143 (2021): An electrodiffusive neuron-extracellular-glia model for exploring the genesis of slow potentials in the brain.
Clone or download the repo, navigate to the top directory of the repo and enter the following command in the terminal:
python3 setup.py install
The code was developed for Python 3.6.
- The simulations folder includes example code showing how to run simulations.
- To reproduce the results presented in Sætra et al. (2021) PLoS Computational Biology, see https://github.com/CINPLA/edNEGmodel_analysis.
- To reproduce the results presented in Signorelli et al. (2024) PLoS ONE, see https://github.com/letiziasignorelli/edNEGmodel_UQSA.
- Table 1 in Sætra et al. 2021 says that the extracellular cross-section area Ae is 3.08e-11 m2. However, the value used in our simulations is 6.16e-11 m2. Thanks to Eirill Hauge and Letizia Signorelli for making us aware of this error.