Skip to content
QSMxT v9 is a ground-up rewrite in Rust. Coming from the Python version (8.x)? See what changed →

Commands

QSMxT is a single binary with a set of subcommands. Run qsmxt <command> --help for the complete, authoritative options of any command.

Command Description
run Run the full QSM pipeline on a BIDS dataset
init Generate a pipeline configuration file (TOML)
validate Validate BIDS dataset structure for QSM processing
dicom-convert Convert a DICOM directory to BIDS with automatic classification
slurm Generate SLURM job scripts for HPC execution
tui Launch the interactive TUI
update Check for and install the latest release

These operate directly on NIfTI files (in/out), independent of the BIDS pipeline. See Standalone tools.

Command Description
mask Masking operations (Otsu, value, percentile, BET, morphology)
unwrap Phase unwrapping
bgremove Background field removal
invert Dipole inversion
swi Susceptibility-weighted imaging
r2star R2* mapping from multi-echo magnitude
t2star T2* mapping from multi-echo magnitude
homogeneity Inhomogeneity correction on magnitude data
resample Resample an oblique volume to axial orientation
quality-map Compute a ROMEO phase-quality map
Terminal window
qsmxt --help # list all commands
qsmxt --version # print version
qsmxt <cmd> --help # full help for a command
Option Purpose
--config <FILE> Load settings from a TOML configuration
--include <GLOB>… / --exclude <GLOB>… Select runs by pattern
--num-echoes <N> Limit echoes processed
--qsm-algorithm <A> Dipole inversion method
--unwrapping-algorithm <A> Phase unwrapping method
--bf-algorithm <A> Background field removal method
--masking-algorithm <A> Masking method
--masking-input <A> What the mask is derived from
--phase-offset-removal <bool> Multi-echo phase-offset removal
--bipolar-correction Bipolar readout correction (≥ 3 echoes)
--romeo-* Fine-grained ROMEO unwrapping controls

See Algorithms for the valid values of each algorithm option.