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. Transfer entropy is an asymmetric measure, so is the connectivity matrix.
Optional Dependencies
# transfer entropy connectivity requires `pyinform` package.
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.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for nilearn_extra-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 666ee259225211326a3d00a9edea9875a18d24fd19513aec58e2f82a5d6a3083 |
|
MD5 | 3c0abbe42eae705711b1b0d2f4f9ed30 |
|
BLAKE2b-256 | 1c53adf4b00d3fae3544cdaa646ec1e1e3bb0f36b7f5bdf22aa2733f1dc6e53e |