Skip to main content

Module config

Module config 

Source
Expand description

Pipeline configuration types

Defines the configuration structs and enums for the QSM pipeline runner. These are pure algorithm config types (no serde). Consumers that need serialization (e.g. qsmxt-config) provide their own serde wrappers and convert to these types.

Structs§

BgRemovalConfig
Background removal configuration
BgRemovalResult
Results from background removal stage
FieldMappingConfig
Field mapping configuration
FieldMappingResult
Results from field mapping stage
InversionConfig
Dipole inversion configuration
MaskSection
A mask section: input source + generator + refinements
MaskingConfig
Masking configuration
QsmPipelineConfig
Complete QSM pipeline configuration.
RobustFitReport
Per-echo evidence from B0EstimationMethod::RobustFit: which echoes the fit stopped trusting, and where. Diagnostics only; the field map has already been computed with these weights and nothing here drops an echo.
ScanMetadata
Metadata about the scan
SeparationConfig
Configuration for the χ-separation stage.

Enums§

B0EstimationMethod
How run_field_mapping combines the unwrapped echoes into one B0 map. Each method carries exactly the settings it reads, so a weighting cannot be set on a fit that ignores it.
BgRemovalAlgorithm
Background field removal algorithm
InversionAlgorithm
Dipole inversion algorithm
InversionInput
What a dipole inversion reconstructs from, and so which earlier stages a host has to run.
MaskOp
A single mask operation (generator or refinement)
MaskThresholdMethod
Threshold method for mask generation
MaskingInput
Input data source for mask generation
OrientationSupport
Whether an algorithm is valid when B0 does not lie along the voxel +z axis.
PipelineError
Pipeline error type
QsmReference
QSM referencing method
SeparationAlgorithm
Susceptibility source-separation algorithm (χ+ / χ−).
UnwrappingAlgorithm
Phase unwrapping algorithm

Constants§

ROMEO_CLI_PHASE_OFFSET_SIGMA_MM
The ROMEO command line’s default phase-offset smoothing sigma, in mm (the default of FieldMappingConfig::phase_offset_sigma_mm).