Drop-in extra functionalities for nilearn (statistics for neuroimaging in Python)
Project description
nilearn-extra
Nilearn Extra is a small add-on for Nilearn (Statistics for NeuroImaging in Python). It currently adds some functional connectivity measures to the mix.
Installation
pip install nilearn-extra
Usage
- from nilearn.connectome import ConnectivityMeasure
+ from nilearn_extra.connectome import ConnectivityMeasure
Extra Connectivity Matrices
Nilearn Extra supports two additional connectivity matrices:
- Chatterjee XiCorr (
kind="chatterjee"
) is a new correlation coefficient as described in Chatterjee (2019). - Transfer Entropy (
kind="transfer entropy"
) between regions X and Y is amount of uncertainty reduced in Y by knowing the past values of X. Note that transfer entropy is a asymmetric measure, so is the connectivity matrix.
Optional dependencies
# for transfer entropy connectivity
pip install pyinform
Contributing
We use GitHub to fork and manage pull requests.
License
BSD 3-Clause License. See the LICENSE file.
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
nilearn-extra-0.1.0.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for nilearn_extra-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afcb82edc7cc4957000e6b5b8f237af117804dc12aee96e502721cfb80d969e2 |
|
MD5 | bdd68339515c303e88d2c36472f6697c |
|
BLAKE2b-256 | d2f3860b805054cd8a8c30baf79cfd81a84de32d0d3e913b8805efbc79bd56fd |