Skip to main content

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


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)

Uploaded Source

Built Distribution

nilearn_extra-0.1.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

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