﻿# Model files in NEURON simulation environment

For the paper:

**The accumulation of extracellular K+ as in vivo model of epilepsy in CA1 pyramidal neurons**

by Valentina Carpentieri, Christophe Bernard, and Michele Migliore

---

## Usage

1. **Download the files.**
2. **Compile the mod files** on the command line:
   ```sh
   nrnivmodl mechanisms
   ```
3. **Install the NEURON simulation environment:**  
   [https://nrn.readthedocs.io/en/8.2.6/](https://nrn.readthedocs.io/en/8.2.6/)
4. **To run the code directly** on the command line:
   ```sh
   nrniv ctrl_high_w.hoc
   ```
   In this case, no new directories are created.

---

Questions on how to use this model should be directed to [michele.migliore@cnr.it](mailto:michele.migliore@cnr.it)