Skip to main content

Scilpy: diffusion MRI tools and utilities

Project description

Scilpy

GitHub release (latest by date) codecov Documentation Status

PyPI version badge PyPI - Downloads

Docker container badge

Scilpy is the main library supporting research and development at the Sherbrooke Connectivity Imaging Lab (SCIL).

Scilpy mainly comprises tools and utilities to quickly work with diffusion MRI. Most of the tools are based on or are wrappers of the DIPY library, and most of them will eventually be migrated to DIPY. Those tools implement the recommended workflows and parameters used in the lab.

:warning: We highly suggest to install uv to speedup scilpy installation: https://docs.astral.sh/uv/getting-started/installation/

:point_up: BUT, if you don't want to use uv, scilpy can still be installed by omitting the uv from all the installation command lines below.

Make sure your pip is up-to-date before trying to install:

uv pip install --upgrade pip

The library's structure is mostly aligned on that of DIPY.

We highly encourage to install scilpy in a virtual environnement. Once done and you're in your virtual environnement, the library and scripts can be installed locally by running these commands:

Install scilpy as a user

# If you are using Python3.11, export this variable before installing
export SETUPTOOLS_USE_DISTUTILS=stdlib

uv pip install scilpy # For the most recent release from PyPi

Install scilpy as a developer

# If you are using Python3.11, export this variable before installing
export SETUPTOOLS_USE_DISTUTILS=stdlib

uv pip install -e . # Install from source code (for development)

EXTRAS

On Linux, most likely you will have to install libraries for COMMIT/AMICO

sudo apt install libblas-dev liblapack-dev

While on MacOS you will have to use (most likely)

brew install openblas lapack

On Ubuntu >=20.04, you will have to install libraries for matplotlib

sudo apt install libfreetype6-dev

Note that using this technique will make it harder to remove the scripts when changing versions. We highly recommend working in a Python Virtual Environment.

Scilpy documentation is available: https://scilpy.readthedocs.io/en/latest/

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

scilpy-2.3.0.tar.gz (86.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scilpy-2.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file scilpy-2.3.0.tar.gz.

File metadata

  • Download URL: scilpy-2.3.0.tar.gz
  • Upload date:
  • Size: 86.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scilpy-2.3.0.tar.gz
Algorithm Hash digest
SHA256 b23556bd0a9479bcf2aecc97dbe8222f6f1e37f83849a1277f267bdff8999e40
MD5 1c9e018f4927ac4935b51a149506f926
BLAKE2b-256 27efdd1ba033577bdfc523d799e239cf856c44985afd81c58acdb7c35611138b

See more details on using hashes here.

File details

Details for the file scilpy-2.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for scilpy-2.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bc9b1d68a4296d1942143511c8a6d919059c00d6298562c47761986e854abcb8
MD5 6c3499ef8c1e231c952365a424338f7e
BLAKE2b-256 fcfc305416d29b5c391738ac1059256920f86bfc3fc3cf4acfcade83c7f18fcc

See more details on using hashes here.

Supported by

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