f025e53
%global _description %{expand:
f025e53
This Python module contain freestanding implementations of electrostatic
f025e53
forward models incorporated in LFPy (https://github.com/LFPy/LFPy,
f025e53
https://LFPy.readthedocs.io).
f025e53
f025e53
The aim of the LFPykit module is to provide electrostatic models in a manner
f025e53
that facilitates forward-model predictions of extracellular potentials and
f025e53
related measures from multicompartment neuron models, but without explicit
f025e53
dependencies on neural simulation software such as NEURON
f025e53
(https://neuron.yale.edu, https://github.com/neuronsimulator/nrn), Arbor
f025e53
(https://arbor.readthedocs.io, https://github.com/arbor-sim/arbor), or even
f025e53
LFPy. The LFPykit module can then be more easily incorporated with these
f025e53
simulators, or in various projects that utilize them such as LFPy
f025e53
(https://LFPy.rtfd.io, https://github.com/LFPy/LFPy). BMTK
f025e53
(https://alleninstitute.github.io/bmtk/,
f025e53
https://github.com/AllenInstitute/bmtk), etc.
f025e53
f025e53
Its main functionality is providing class methods that return two-dimensional
f025e53
linear transformation matrices M between transmembrane currents I of
f025e53
multicompartment neuron models and some measurement Y given by Y=MI.
f025e53
f025e53
The presently incorporated volume conductor models have been incorporated in
f025e53
LFPy (https://LFPy.rtfd.io, https://github.com/LFPy/LFPy), as described in
f025e53
various papers and books:
f025e53
f025e53
- Linden H, Hagen E, Leski S, Norheim ES, Pettersen KH, Einevoll GT (2014) LFPy:
f025e53
a tool for biophysical simulation of extracellular potentials generated by
f025e53
detailed model neurons. Front. Neuroinform. 7:41. doi: 10.3389/fninf.2013.00041
f025e53
f025e53
- Hagen E, Næss S, Ness TV and Einevoll GT (2018) Multimodal Modeling of Neural
f025e53
Network Activity: Computing LFP, ECoG, EEG, and MEG Signals With LFPy 2.0.
f025e53
Front. Neuroinform. 12:92. doi: 10.3389/fninf.2018.00092
f025e53
f025e53
- Ness, T. V., Chintaluri, C., Potworowski, J., Leski, S., Glabska, H., Wójcik,
f025e53
D. K., et al. (2015). Modelling and analysis of electrical potentials recorded
f025e53
in microelectrode arrays (MEAs). Neuroinformatics 13:403–426. doi:
f025e53
10.1007/s12021-015-9265-6
f025e53
f025e53
- Nunez and Srinivasan, Oxford University Press, 2006
f025e53
f025e53
- Næss S, Chintaluri C, Ness TV, Dale AM, Einevoll GT and Wójcik DK (2017).
f025e53
Corrected Four-sphere Head Model for EEG Signals. Front. Hum. Neurosci. 11:490.
f025e53
doi: 10.3389/fnhum.2017.00490}
f025e53
e6e31a9
Name:           python-lfpykit
8792091
Version:        0.5
1830bcb
Release:        %autorelease
f025e53
Summary:        Electrostatic models for multicompartment neuron models
f025e53
1fbf6e2
License:        GPL-3.0-or-later
e6e31a9
URL:            https://pypi.org/pypi/LFPykit
0c168c8
Source0:        %{pypi_source LFPykit}
f025e53
f025e53
BuildArch:      noarch
f025e53
f025e53
%description %_description
f025e53
e6e31a9
%package -n python3-lfpykit
f025e53
Summary:        %{summary}
f025e53
BuildRequires:  python3-devel
f025e53
e6e31a9
%description -n python3-lfpykit %_description
f025e53
f025e53
%package doc
f025e53
Summary:        %{summary}
f025e53
f025e53
%description doc
f025e53
Documentation for %{name}.
f025e53
f025e53
%prep
e6e31a9
%autosetup -n LFPykit-%{version}
f025e53
f025e53
find . -type f -name "*.py" -exec sed -i '/^#![  ]*\/usr\/bin\/env.*$/ d' {} 2>/dev/null ';'
f025e53
0c168c8
%generate_buildrequires
5e74fc5
%pyproject_buildrequires -x tests
0c168c8
f025e53
%build
0c168c8
%pyproject_wheel
f025e53
f025e53
%install
0c168c8
%pyproject_install
0c168c8
%pyproject_save_files lfpykit
f025e53
f025e53
%check
0c168c8
%pyproject_check_import
f025e53
%{pytest}
f025e53
0c168c8
%files -n python3-lfpykit -f %{pyproject_files}
f025e53
%doc README.md
f025e53
f025e53
%files doc
f025e53
%license LICENSE
f025e53
%doc examples
f025e53
f025e53
%changelog
1830bcb
%autochangelog