A python toolbox to conduct non-invasive brain stimulation (NIBS) experiments.
Project description
pyNIBS
Preprocessing, postprocessing, and analyses routines for non-invasive brain stimulation experiments.
pyNIBS
provides the functions to allow cortical mappings with transcranial magnetic stimulation (TMS) via functional analysis. pyNIBS
is developed to work with SimNIBS, i.e. SimNIBS' meshes and FEM results can directly be used.
Currently, SimNIBS 3.2.6 and SimNIBS >=4.0 are supported.
See the documentation for package details and our protocol publication for a extensive usage examples. Free view only version of the paper: https://t.co/uv7CmVw6tp.
Installation
Via PiP:
pip install pynibs
Or clone the source repository and install the development branch for the most recent version:
git clone https://gitlab.gwdg.de/tms-localization/pynibs
cd pynibs
git checkout dev
pip install -e .
See here for more detailed installation instructions.
To import CED Signal EMG data use the export to .mat
feature of Signal.
To read .cfs
files exported with CED Signal you might need to manually compile the libbiosig package.
Bugs
For sure. Please open an issue or feel free to file a PR.
Citation
Please cite Numssen, O., Zier, A. L., Thielscher, A., Hartwigsen, G., Knösche, T. R., & Weise, K. (2021). Efficient high-resolution TMS mapping of the human motor cortex by nonlinear regression. NeuroImage, 245, 118654. doi:10.1016/j.neuroimage.2021.118654 when using this toolbox in your research.
References
- Weise*, K., Numssen*, O., Thielscher, A., Hartwigsen, G., & Knösche, T. R. (2020). A novel approach to localize cortical TMS effects. NeuroImage, 209, 116486. doi: 10.1016/j.neuroimage.2019.116486
- Numssen, O., Zier, A. L., Thielscher, A., Hartwigsen, G., Knösche, T. R., & Weise, K. (2021). Efficient high-resolution TMS mapping of the human motor cortex by nonlinear regression. NeuroImage, 245, 118654. doi:10.1016/j.neuroimage.2021.118654
- Weise*, K., Numssen*, O., Kalloch, B., Zier, A. L., Thielscher, A., Hartwigsen°, G., Knösche°, T. R. (2023). Precise transcranial magnetic stimulation motor-mapping. Nature Protocols. doi:10.1038/s41596-022-00776-6
- Jing, Y., Numssen, O., Weise, K., Kalloch, B., Buchberger, L., Haueisen, J., Hartwigsen, G., Knösche, T. (2023). Modeling the Effects of Transcranial Magnetic Stimulation on Spatial Attention. Physics in Medicine & Biology. doi: 10.1088/1361-6560/acff34
- Numssen, O., Kuhnke, P., Weise, K., & Hartwigsen, G. (2024). Electric field based dosing for TMS. Imaging Neuroscience. doi: 10.1162/imag_a_00106
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyNIBS-0.2024.8.tar.gz
.
File metadata
- Download URL: pyNIBS-0.2024.8.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 632bdbfe93d57c9155bd0136dedb54c11386574a7e8585a027cf7fa4dd9cd08f |
|
MD5 | 804949e77f8e3305d9d6895659b44b39 |
|
BLAKE2b-256 | 50e69c81a20a8b13b30add0096e0fa4fb7c27f9aec111a3963695624c6927954 |
File details
Details for the file pyNIBS-0.2024.8-py3-none-any.whl
.
File metadata
- Download URL: pyNIBS-0.2024.8-py3-none-any.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed394f083545124aad2af58906b405a694d057e83a9acc19eedaf87cc3c63a0 |
|
MD5 | c2a09ed009cb9a9a2d54290663862ee6 |
|
BLAKE2b-256 | 6dd620a04a0cf81a183e1bf58cbb1c25493d06ef907dc8c6fd43415c5094d38b |