A tool for electromagnetic modelling of the head and sensitivity analysis.
Project description
shamo
Constructing accurate subject specific head model is of main interest in the fields of source imaging (EEG/MEG) and brain stimulation (tDCS/tMS). shamo is an open source python package to calculate EEG leadfields, current flows, and electric potential distribution in the head. From a labelled 3D image of the head, the whole process is fully automatized, relying only on a few parameter files, e.g. conductivities (including white matter anisotropy) plus source and electrode locations. Since there is no non-invasive method to measure the electromagnetic (EM) properties of the head tissues, shamo can also be used to assess the sensitivity of the EM head model to these parameters.
Install
Before installing shamo
, make sure to install the dependencies.
Once done, you can either install it from PyPI:
python3 -m pip install shamo
or from source:
git clone https://github.com/CyclotronResearchCentre/shamo
cd shamo
python3 setup.py install
shamo
is also available on docker hub in four different images:
python-dev
andjupyter-dev
provide the latest build from thedevelop
branch.python-{tag}
andjupyter-{tag}
provide builds for corresponding releases. Thepython
images provide a python interpreter with shamo installed where thejupyter
images also provide a jupyter lab server.
For more information, see the documentation.
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
Hashes for shamo-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fddfde3cd94123697291dd136d8de6b8a4006612f3031b5e4b57e6b1eaeff1e4 |
|
MD5 | a9a7e876f2bfb0c01a7adeb00f651a8c |
|
BLAKE2b-256 | a688783be7c43d4b4dcbd4ebd35fa638c2ca1cc0d89947153a3eb5bb22a0eb38 |