20170201 In this version of LFPsim, the ion channel distribution
density and size of the individual compartments were considered in the
LFP calculation. This modification was supplied by S Diwakar in
response to user comments. It does not change the paper or the LFP
This is the README for the model associated with the paper:
Parasuram H, Nair B, D'Angelo E, Hines M, Naldi G, Diwakar
S. Computational Modeling of Single Neuron Extracellular Electric
Potentials and Network Local Field Potentials using LFPsim,
Front. Comp. Neurosc., June 13, 2016, 10.3389/fncom.2016.00065
LFPsim - Simulation scripts to compute Local Field Potentials (LFP)
from cable compartmental models of neurons and networks implemented in
NEURON simulation environment.
LFPsim works reliably on biophysically detailed multi-compartmental
neurons with ion channels in some or all compartments.
Last updated 12-March-2016
Developed by : Harilal Parasuram & Shyam Diwakar
Computational Neuroscience & Neurophysiology Lab, School of Biotechnology, Amrita University, India.
Email: email@example.com; firstname.lastname@example.org
How to run LFPsim
1. Copy all LFPsim files and the directory into your NEURON model
directory downloaded from ModelDB. Copy lfp.mod and mea.mod from
LFPsim to the mechanism directory of the NEURON model.
2. Compile the model; if you had already compiled the model without
LFPsim, include the LFPsim mod files and re-compile using "nrnivmodl"
3. Load your neuron or network model in NEURON.
4. On the terminal type: xopen("extracellular_electrode.hoc") to
initiate LFPsim GUI interface.
5. Set the electrode properties in the GUI.
6. Run the simulation to reconstruct LFP.
A detailed step-by-step procedure is also listed in the