cs_dmri
Python interface to cs_dmri, a Rust library for the analysis of diffusion MRI data: image quality control, 3D-SHORE reconstruction, robust diffusion tensor estimation (RESTORE), single-shell three-tissue constrained spherical deconvolution, and continuous-b multi-tissue CSD (ConSH) for non-shelled data.
pip install cs_dmri
import cs_dmri as cs
dwi = cs.DWI.from_files("dwi.nii.gz", "dwi.bval", "dwi.bvec", mask="mask.nii.gz")
qc = dwi.qc() # image-quality metrics
qc.to_dict() # one row of a QC table
cs.QCReport.column_descriptions() # its data dictionary
tensor = cs.RestoreModel(dwi.gtab).fit(dwi) # FA, MD, S0, principal direction
shore = cs.ShoreModel(dwi.gtab).fit(dwi) # 3D-SHORE coefficients and diagnostics
ss3t = cs.ss3t_pipeline(dwi) # single-shell three-tissue CSD
consh = cs.consh_pipeline(dwi) # continuous-b multi-tissue CSD
ss3t.export("ss3t.odx") # ODX; also .fz, .fib.gz, .pam5, .mif
Documentation: https://cs-dmri.readthedocs.io
License: (MIT OR Apache-2.0) AND MPL-2.0 AND BSD-3-Clause; see the
documentation for details.
Metadata
Release files for cs-dmri 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cs_dmri-0.3.1.tar.gz | 789.0 kB | With provenance | Details for cs_dmri-0.3.1.tar.gz |
Built distributions (wheels)
Total release size: 25.6 MB
Release files / cs_dmri-0.3.1.tar.gz
| Download URL | cs_dmri-0.3.1.tar.gz |
|---|---|
| Size | 789.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd4ecda7d1d607345754a6a31e15fcaeaefe066fd5cc1d8a15cfdb892630d9e2
|
|
BLAKE2b-256 checksum How to use checksums |
616ec3d5c682fc4c9722afcf9d14c2f40e9ea1ab57c733ab7d7d4122ebc0b509
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / cs_dmri-0.3.1-cp39-abi3-win_amd64.whl
| Download URL | cs_dmri-0.3.1-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0412114cda76a1c3f5d9ff1a17f049cab466c57c89294f77d09ad05e3aaa301d
|
|
BLAKE2b-256 checksum How to use checksums |
a54c2910c8e8220fa5a03ec4c7a6d0af7e8c82a7c6d53d4714ff8dbd77c7a9c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / cs_dmri-0.3.1-cp39-abi3-musllinux_1_2_x86_64.whl
| Download URL | cs_dmri-0.3.1-cp39-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
96f4345ade111a52b19c2b628e59bd62742a82eb26de10b61bbd329bfdffecf6
|
|
BLAKE2b-256 checksum How to use checksums |
2d652dcd8e19b020d52ef08e63e67886b155f18f8fc9ce6bc3e50d86e38042ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / cs_dmri-0.3.1-cp39-abi3-musllinux_1_2_aarch64.whl
| Download URL | cs_dmri-0.3.1-cp39-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.9 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
686797d229860ec6124c6b0bab5f22c9a106ecc7cdb953696cb2ee059f637814
|
|
BLAKE2b-256 checksum How to use checksums |
0254c0742b7b28ac9396c61860e139ee4391ca6277d200c510a41ad6344ecb1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / cs_dmri-0.3.1-cp39-abi3-manylinux_2_28_x86_64.whl
| Download URL | cs_dmri-0.3.1-cp39-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
45c3137cb863e671717e83a5aa0b5c32806ef863d114d3ff9f65cedc2f0ccc59
|
|
BLAKE2b-256 checksum How to use checksums |
e5ab38bbe5336725b97d179a91c7ea57a9b63a4f59ba6a1c9fea9f55f347743a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / cs_dmri-0.3.1-cp39-abi3-manylinux_2_28_aarch64.whl
| Download URL | cs_dmri-0.3.1-cp39-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
29fe5d6cc0cd09ba0f5eb49fc74d4277022053ff6323ca86afc257363f0ce683
|
|
BLAKE2b-256 checksum How to use checksums |
926c8a63839fbf0316a792128093507846e935b2f5158b4a18e697261ce01924
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / cs_dmri-0.3.1-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | cs_dmri-0.3.1-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f51ba6a4db1a41240142d1313be65a094b5b9895845013b23672df836a7967ee
|
|
BLAKE2b-256 checksum How to use checksums |
5f030d25342fb4b1c3ab0b9adcc12847e04f7fd6d859471f0b0146894b3d35ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / cs_dmri-0.3.1-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | cs_dmri-0.3.1-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
34237cea79ee6a7932232dba1e5b6fe387aa8b27c8e656052bddb87ad7d33c58
|
|
BLAKE2b-256 checksum How to use checksums |
a2dfb3a5c049589c00ba33455107b40afd07dc28e52d029f7f71e75964a82b9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logSecurity for cs-dmri 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 8 files in this release have been uploaded with provenance metadata.
Attestation for cs_dmri-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.