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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nilearn-extra-0.1.1.tar.gz.
File metadata
- Download URL: nilearn-extra-0.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf9a0c7b546c10ff3e6a032ac0b66b51f9a998e9090a8da4eca310c36fe8a592
|
|
| MD5 |
1ca0141b38be92aaadd04c9e1076547f
|
|
| BLAKE2b-256 |
6dd55e5bf36d969860f6099cd42b5825fd2f6e40bb9885305df854db01de21af
|
File details
Details for the file nilearn_extra-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nilearn_extra-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
666ee259225211326a3d00a9edea9875a18d24fd19513aec58e2f82a5d6a3083
|
|
| MD5 |
3c0abbe42eae705711b1b0d2f4f9ed30
|
|
| BLAKE2b-256 |
1c53adf4b00d3fae3544cdaa646ec1e1e3bb0f36b7f5bdf22aa2733f1dc6e53e
|