laura: Local Auto-Regressive Average
This repository contains the source code for the Local AUto-Regressive Average (LAURA) inverse solution as described by de Peralta Menendez et al. (2001, 2004). The code is based on mne-python, a powerful EEG library for python.
Personally, I think this linear inverse solution finds the neural sources underlying M/EEG measurements with great success and is a valuable option among other inverse solutions such as minimum norm estimates and (e)LORETA.
Dependencies
That's it!
Installation from PyPi
Use pip to install laura and all its dependencies from PyPi:
pip install laura
Quick Start
The following code demonstrates how to use this package:
from laura import compute_laura
stc = compute_laura(evoked, forward)
stc.plot()
, where evoked is an instance of mne.Evoked and forward is an instance of mne.Forward. For further explanation on mne and its objects please refer to the mne website.
For a more comprehensive tutorial hop over to this notebook!
Feedback
Please leave your feedback and bug reports at lukas_hecker@web.de.
References
Please cite the authors of the LAURA inverse solution appropriately:
[1] Menendez, R. G. D. P., Andino, S. G., Lantz, G., Michel, C. M., & Landis, T. (2001). Noninvasive localization of electromagnetic epileptic activity. I. Method descriptions and simulations. Brain topography, 14(2), 131-137.
[2] de Peralta Menendez, R. G., Murray, M. M., Michel, C. M., Martuzzi, R., & Andino, S. L. G. (2004). Electrical neuroimaging based on biophysical constraints. Neuroimage, 21(2), 527-539.
I would be happy if you would cite this package, too:
LAURA was calculated using the laura python package available at https://github.com/LukeTheHecker/laura.
Limitations
The current implementation is limited to:
- fixed dipole orientations
- time-domain EEG data
Feel free to modify the code and start a pull request!
Troubleshooting
- Having problems with the installation? Check the package requirements.
Metadata
Release files for laura 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| laura-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for laura-0.0.2-py3-none-any.whl |
Release files / laura-0.0.2-py3-none-any.whl
| Download URL | laura-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0bc806408363604e2d927a97e507948a0aad371046784c7b7591c748e8f6cfa
|
|
BLAKE2b-256 checksum How to use checksums |
8c84eaf02c16f986049ebe12b769ffa7841650411025a688409c370c8fe1804e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.10
|
Security for laura 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.