Skip to content

reconst_shsignal

Compute the SH coefficient directly on the raw DWI signal

Keywords : sh, dwi, signal


Format : tuple val(meta), path(dwi), path(bval), path(bvec), path(mask), val(ue)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'test', single_end:false ]True
dwifileNifti DWI volume used to extract DTI metrics.True*.{nii,nii.gz}
bvalfileB-values in FSL format.True*.bval
bvecfileB-vectors in FSL format.True*.bvec
maskfileNifti volume file used to mask the input image.True*.{nii,nii.gz}
ueintegerDummy entry for lint to run succesfully. Refer to nf-core/tools#3483Trueremove-me

Format : tuple val(meta), path(*__dwi_sh.nii.gz)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*__dwi_sh.nii.gzfileOutput filename for the SH coefficients.True*__dwi_sh.{nii,nii.gz}

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

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

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


Last updated : 2025-10-30