Attention: The Collaboratory IAM will down for up to 1 hour on Monday, the 7th of July 2025 starting from 5pm CEST (my timezone) for up to 1 hour. Any and all services, which require a user login with an EBRAINS account, will be un-available during that time


Wiki source code of LFPykit showcase

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

Hide last authors
ehagen 1.1 1 (% class="jumbotron" %)
2 (((
3 (% class="container" %)
4 (((
ehagen 4.2 5 = LFPykit showcase =
ehagen 1.1 6
ehagen 6.1 7 Demonstration on how to run predictions using LFPykit ([[LFPykit.rtfd.io>>url:https://lfpy.rtfd.io/]], [[github.com/LFPy/LFPkit>>url:https://github.com/LFPy/LFPy]]) on the Collaboratory.
ehagen 4.3 8
ehagen 6.1 9 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://neuron.yale.edu]], [[https:~~/~~/github.com/neuronsimulator/nrn>>https://github.com/neuronsimulator/nrn]]), Arbor ([[https:~~/~~/arbor.readthedocs.io>>https://arbor.readthedocs.io]], [[https:~~/~~/github.com/arbor-sim/arbor>>https://github.com/arbor-sim/arbor]]), and LFPy ([[https:~~/~~/LFPy.readthedocs.io>>https://LFPy.readthedocs.io]], [[https:~~/~~/github.com/LFPy/LFPy>>https://github.com/LFPy/LFPy]])
ehagen 4.3 10
ehagen 11.4 11 To use this material, create a new (private) collab and clone [[https:~~/~~/github.com/LFPy/LFPykit>>https://github.com/LFPy/LFPykit]] into it. 
12 Running notebooks here may result in file permission errors.
ehagen 4.3 13
ehagen 11.2 14 The LFPykit package can be installed as
ehagen 4.3 15
ehagen 11.2 16 {{{!pip install . # or !pip install LFPykit}}}
17
ehagen 4.3 18 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
19
20 {{{!pip install <missing-package-name>}}}
21
22 which may require a kernel restart to take effect.
ehagen 11.2 23
24 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).
ehagen 1.1 25 )))
26 )))
27
28 (% class="row" %)
29 (((
30 (% class="col-xs-12 col-sm-8" %)
31 (((
32 = What can I find here? =
33
34 * Notice how the table of contents on the right
35 * is automatically updated
36 * to hold this page's headers
37
38 = Who has access? =
39
40 Describe the audience of this collab.
41 )))
42
43
44 (% class="col-xs-12 col-sm-4" %)
45 (((
46 {{box title="**Contents**"}}
47 {{toc/}}
48 {{/box}}
49
50
51 )))
52 )))