LFPykit showcase

Last modified by ehagen on 2022/05/27 11:07

LFPykit showcase

Demonstration on how to run predictions using LFPykit (LFPykit.rtfd.iogithub.com/LFPy/LFPkit) on the Collaboratory. 

The LFPykit module provides electrostatic models in a manner that facilitates forward-model predictions of extracellular potentials and related measures from multicompartment neuron models, but without explicit dependencies on neural simulation software such as NEURON (https://neuron.yale.edu, https://github.com/neuronsimulator/nrn), Arbor (https://arbor.readthedocs.io, https://github.com/arbor-sim/arbor), and LFPy (https://LFPy.readthedocs.io, https://github.com/LFPy/LFPy)

To use this material, create a new (private) collab and clone https://github.com/LFPy/LFPykit into it. 
Running notebooks here may result in file permission errors.

The LFPykit package can be installed as

!pip install .  # or !pip install LFPykit

in a jupyter notebook. Different usage with LFPy, NEURON and Arbor are provided in different notebooks located in the examples directory. Missing packages resulting in ImportError and similar can usually be installed issuing

!pip install <missing-package-name>

which may require a kernel restart to take effect.

Using the Official EBRAINS Docker image in the Lab is recommended as LFPykit and neural simulators (Arbor, NEURON, LFPy) is preinstalled. For new notebooks/console sessions use the EBRAINS_experimental_release (or select this as a kernel and restart when opening notebooks).

What can I find here?

  • Notice how the table of contents on the right
  • is automatically updated
  • to hold this page's headers

Who has access?

Describe the audience of this collab.