csttool Documentation¶
Welcome to the csttool documentation!
csttool is a Python-based command-line tool for automated assessment of the corticospinal tract (CST) using diffusion-weighted MRI (DW-MRI) data.
Quick Start¶
# Install (recommended: conda)
git clone https://github.com/alemnalo/csttool.git
cd csttool
conda env create -f environment.yml
conda activate csttool
csttool fetch-data --accept-fsl-license
# Run complete pipeline
csttool run --dicom /path/to/dicom --out results --subject-id sub-01
See the Installation Guide for the pip path and Windows notes, or the Quick Start Guide for analysis examples.
Pipeline Overview¶
graph LR
A[DICOM / NIfTI] --> B[Import]
B --> C[Preprocess]
C --> D[Track]
D --> E[Extract]
E --> F[Metrics / Reports]
csttool processes diffusion MRI data through six stages:
- Check - Verify environment and dependencies
- Import - Convert DICOM to NIfTI format
- Preprocess - Denoise and skull strip
- Track - Generate whole-brain tractogram
- Extract - Isolate bilateral CST using anatomical ROIs
- Metrics - Compute microstructural measures and generate reports
Documentation Structure¶
This documentation follows the Diátaxis framework.
Tutorials¶
COMING SOON
How-To Guides¶
COMING SOON
Reference¶
COMING SOON
Explanation¶
COMING SOON
License¶
csttool is released under the MIT License. See LICENSE for details.