A high-level M/EEG Python library for EEG inverse solutions
Project description
invertmeeg - A high-level M/EEG Python library for EEG inverse solutions
This package contains various approaches to solve the M/EEG inverse problems. It integrates with the mne-python framework.
Read the Documentation here!
Install the package from pypi:
pip install invertmeeg
To check if the installation works run:
python -c 'import invert'
To test the package simply run:
pytest tests
To calculate an inverse solution using minimum norm estimates simply type:
from invert import Solver
# fwd = ...
# evoked = ...
# Create a Solver instance
solver_name = "MNE"
solver = Solver(solver_name)
# Calculate the inverse operator
solver.make_inverse_operator(fwd)
# Apply the inverse operator to your data
stc = solver.apply_inverse_operator(evoked)
# Plot the resulting source estimate
stc.plot()
There are many solvers implemented in the package, and you can find them here!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
invertmeeg-0.0.3-py3-none-any.whl
(64.6 kB
view hashes)
Close
Hashes for invertmeeg-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3eb4b152d22f8725f79978d9976700277a5636c970109dcb0bce49f5f87046c |
|
MD5 | 72e16bb3b2803304ac32e327afcedae1 |
|
BLAKE2b-256 | 031d96c467436cb807360a618253078d99ad44b454cda026711d66a68917deb2 |