Skip to content

shsignal

Module: reconst/shsignal

Compute the SH coefficient directly on the raw DWI signal

Keywords : sh, dwi, signal


Inputs

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]true
dwifileNifti DWI volume used to extract DTI metrics.*.{nii,nii.gz}
bvalfileB-values in FSL format.*.bval
bvecfileB-vectors in FSL format.*.bvec
maskfileNifti volume file used to mask the input image.*.{nii,nii.gz}

Outputs

TypeDescriptionPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]
sh_signalfileOutput filename for the SH coefficients.*__dwi_sh.{nii,nii.gz}
versionsfileFile containing software versionsversions.yml

Arguments (see process.ext)

TypeDescriptionDefaultChoices
dwi_shell_toleranceintVolumes with b-values that differ by this tolerance are considered of same weighting.20
b0_thr_extract_b0intVolumes with b-values up to this threshold are considered b0 (unweighted).10
shell_to_fitintOnly use volumes with this b-value. Required if input is multi-shell.None
sh_orderintTruncate spherical harmonics coefficients to this order.4
sh_basisstringSpherical harmonics basis to use. Options : - descoteaux07 - tournier07 - descoteaux07_legacy - tournier07_legacydescoteaux07_legacy
smoothingfloatRegularization coefficient used for the spherical harmonics fit.0.006
attenuation_onlybooleanIf enabled, divide the weighted volumes by the b0 before fitting.False

Tools

DescriptionDOI
ScilpyThe Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox.

Authors

AlexVCaron

Maintainers

AlexVCaron


Last updated : 2025-07-15