Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

methods to calculate LFPs with spike events from network sim

Project description

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 (


A preprint of our manuscript on the hybrid scheme implemented in hybridLFPy is available on at

Citation: Espen Hagen, David Dahmen, Maria L. Stavrinou, Henrik Linden, Tom Tetzlaff, Sacha Jennifer van Albada, Sonja Gruen, Markus Diesmann, Gaute T. Einevoll. Hybrid scheme for modeling local field potentials from point-neuron networks. arXiv:1511.01681 [q-bio.NC]

Bibtex source:

   author = {{Hagen}, E. and {Dahmen}, D. and {Stavrinou}, M.~L. and {Lind{\'e}n}, H. and
        {Tetzlaff}, T. and {van Albada}, S.~J. and {Gr{\"u}n}, S. and
        {Diesmann}, M. and {Einevoll}, G.~T.},
    title = "{Hybrid scheme for modeling local field potentials from point-neuron networks}",
  journal = {ArXiv e-prints},
archivePrefix = "arXiv",
   eprint = {1511.01681},
 primaryClass = "q-bio.NC",
 keywords = {Quantitative Biology - Neurons and Cognition},
     year = 2015,
    month = nov,
   adsurl = {},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}

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 installing files, add this path to $PYTHONPATH. Edit your .bash_profile or similar file, and add:


Installing it is also possible, but not recommended as things might change with any pull request 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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hybridLFPy, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size hybridLFPy-0.1.3.tar.gz (143.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page