Skip to content

Toolbox pipelines

A toolbox pipeline is a published toolbox’s whole QSM pipeline written as QSMxT settings: the toolbox’s method, and the settings its authors’ code or paper uses with it, from the brain mask to the susceptibility reference. Use one to compare with results from that toolbox or to follow a published analysis. QSMxT’s defaults stay its own recommendation; a toolbox pipeline is not.

In the TUI, open the Pipeline tab (P from any settings page). Next to the list, the highlighted pipeline is compared with your settings: each setting choosing it would change, from your value to the pipeline’s. Enter opens a preview of those changes; Apply makes them, and Esc or Cancel changes nothing.

On the command line, give --pipeline; flags after it change the pipeline further:

Terminal window
qsmxt run study/bids --pipeline medi-toolbox
qsmxt run study/bids --pipeline medi-toolbox --medi-lambda 500

Choosing a pipeline first resets every reconstruction stage to QSMxT’s defaults, then sets the pipeline’s settings. The input, the outputs and how the run executes stay as they are. The run’s pipeline_config.toml records the choice as reference_pipeline.

The TUI’s header shows the pipeline your settings follow: Pipeline: MEDI toolbox. Change a setting afterwards and it reads MEDI toolbox · 1 departure; change the pipeline’s method and it reads Custom. The command preview is --pipeline followed only by the flags where your settings depart from it.

A pipeline holds what its authors ran. Where QSM.rs recommends something else for one of its methods, the recommendation is shown in the preview and offered afterwards like any other (see Recommendations); nothing changes unless you accept it.

How closely a pipeline matches the original toolbox is measured, not assumed. QSM-CI runs each toolbox’s own pipeline and QSMxT’s on the same data for every QSMxT release, and each pipeline’s page shows the latest result. Each page also lists what the pipeline does differently from the original on purpose, with the reasons, and any known gaps.

Pipeline Taken from --pipeline Parity
MEDI toolbox MEDI toolbox 2024.11.26 medi-toolbox parity
STI Suite · iLSQR STI Suite 3.0 sti-suite-ilsqr parity
STI Suite · STAR-QSM STI Suite 3.0 sti-suite-star no whole-pipeline test yet
QSMART QSMART qsmart parity
HEIDI package HEIDI package (qsm_heidi 4592631) heidi parity
χ-separation toolbox · iLSQR χ-separation toolbox 1.1.3 chi-sep-ilsqr parity
χ-separation toolbox · MEDI χ-separation toolbox 1.1.3 chi-sep-medi parity
χ-separation toolbox · χ-sepnet χ-separation toolbox 1.1.3 chi-sepnet no whole-pipeline test yet
DECOMPOSE DECOMPOSE decompose parity
UK Biobank UK Biobank QSM uk-biobank parity