Skip to main content

A python toolbox to conduct non-invasive brain stimulation experiments (NIBS).

Project description

pyNIBS

Preprocessing, postprocessing, and analyses routines for non-invasive brain stimulation experiments.

Latest Release

pyNIBS provides the necessary tools 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.

See the documentation for package details and our protocol publication for an extensive example of the usage.

Installation

Via pip:

pip install pynibs

You might need to manually compile the libbiosig package:

cd pynibs/pckg/biosig
tar -xvf biosig4c++-1.9.5.src_fixed.tar.gz
cd biosig4c++-1.9.5
./configure
make
cd python
python setup.py install

Finally, add :~/.local/lib to your .bashrc:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/.local/lib

Or clone the source repository and install via setup.py:

git clone https://gitlab.gwdg.de/tms-localization/pynibs
cd pynibs
python setup.py develop

Bugs

Yes. Drop us a line if you find any or feel free to file a PR.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynibs-0.1.5a0.tar.gz (246.3 kB view details)

Uploaded Source

Built Distribution

pynibs-0.1.5a0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file pynibs-0.1.5a0.tar.gz.

File metadata

  • Download URL: pynibs-0.1.5a0.tar.gz
  • Upload date:
  • Size: 246.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for pynibs-0.1.5a0.tar.gz
Algorithm Hash digest
SHA256 e075a26aa4e1b406da901aa4b550f7df34da707c9c614216b5d057b4f8803417
MD5 2f850d400198bd1efbc80bf896ddbc57
BLAKE2b-256 6c3e4e70a2f7eee2047c0b5ec54501c59f9414b8b2e5b7409eea1538c4409d8c

See more details on using hashes here.

File details

Details for the file pynibs-0.1.5a0-py3-none-any.whl.

File metadata

  • Download URL: pynibs-0.1.5a0-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for pynibs-0.1.5a0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac1403e145e13af8f3d4f4b2ffe2e6ff3f4978cbe2f1a5e68b11169e16490625
MD5 0fe245e88254f7b82488e9eb0ec14005
BLAKE2b-256 1f44d9f3ac134e074c71fc29984268e7bb07154799288bbd01a027d7e1781f40

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page