Biophysics-based prediction of LFPs from point-neuron networks
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Module hybridLFPy

Python module implementating a hybrid model scheme for predictions of extracellular potentials (local field potentials, LFPs) of spiking neuron network simulations.


The module hybridLFPy was mainly developed in the Computational Neuroscience Group (, Department of Mathemathical Sciences and Technology (, at the Norwegian University of Life Sciences (, Aas, Norway, in collaboration with Institute of Neuroscience and Medicine (INM-6) and Institute for Advanced Simulation (IAS-6), Juelich Research Centre and JARA, Juelich, Germany (


Espen Hagen, David Dahmen, Maria L. Stavrinou, Henrik Lindén, Tom Tetzlaff, Sacha J. van Albada, Sonja Grün, Markus Diesmann, Gaute T. Einevoll; Hybrid Scheme for Modeling Local Field Potentials from Point-Neuron Networks, Cerebral Cortex, Volume 26, Issue 12, 1 December 2016, Pages 4461–4496,

Bibtex source: ::

author = {Hagen, Espen and Dahmen, David and Stavrinou, Maria L. and Lindén, Henrik and Tetzlaff, Tom and van Albada, Sacha J. and Grün, Sonja and Diesmann, Markus and Einevoll, Gaute T.},
title = {Hybrid Scheme for Modeling Local Field Potentials from Point-Neuron Networks},
journal = {Cerebral Cortex},
volume = {26},
number = {12},
pages = {4461-4496},
year = {2016},
doi = {10.1093/cercor/bhw237},
URL = { +},
eprint = {/oup/backfile/content_public/journal/cercor/26/12/10.1093_cercor_bhw237/2/bhw237.pdf}

Tutorial slides

Slides from OCNS 2015 meeting tutorial T2: Modeling and analysis of extracellular potentials <>_ hosted in Prague, Czech Republic on LFPy and hybridLFPy: CNS2015_LFPy_tutorial.pdf <>_


This software is released under the General Public License (see LICENSE file).


This software comes without any form of warranty.


First download all the hybridLFPy source files using git ( Open a terminal window and type: ::

cd $HOME/where/to/put/hybridLFPy
git clone

To use hybridLFPy from any working folder without copying files, run: ::

(sudo) python develop (--user)

Installing it is also possible, but not recommended as things might change with pulls from the repository: ::

(sudo) python install (--user)

examples folder

Some example script(s) on how to use this module

docs folder

Source files for autogenerated documentation using Sphinx.

To compile documentation source files in this directory using sphinx, use: ::

sphinx-build -b html docs documentation

Online documentation

The sphinx-generated html documentation can be accessed at