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.

The library is now built for Python 3.12 so be sure to create a virtual environnement for Python 3.12. If this version is not installed on your computer:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get install python3.12 python3.12-dev python3.12-venv python3.12-tk

: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.10 or 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.10 or 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.2.2.tar.gz (86.5 MB view details)

Uploaded Source

Built Distributions

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

scilpy-2.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

scilpy-2.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

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

File metadata

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

File hashes

Hashes for scilpy-2.2.2.tar.gz
Algorithm Hash digest
SHA256 93dbe2d575f8406ca507c17dcecb78d8f645993c0ebe7fda4855e605e615d246
MD5 233bb7d105b8686ba206fbaf501946ca
BLAKE2b-256 759c7dc66c02f9f6e3a4b590006d17a69053ef2ac6623623ae345b2d76087725

See more details on using hashes here.

File details

Details for the file scilpy-2.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for scilpy-2.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 434e25c4c5ac9f5bbc6d267d9f58409e5ef29f280917b442bda1f5580954dee6
MD5 9da86755a991962b59e4c75c5b72d47c
BLAKE2b-256 dee42c5366e969e11d6a89e7150192dd10dca67bea897ec78c6d8118afb4b3bd

See more details on using hashes here.

File details

Details for the file scilpy-2.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for scilpy-2.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26061b0a2e4bacb075d6d4e86ce0ff63db5790e43e6cbc2941135c7c7282bff6
MD5 8db9f54309ffacd5c4b1c6ec455910f9
BLAKE2b-256 552239d5fc15efcf6458c1c9135d5115da98c5d190a028cd4fa08ec58da7968e

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