Skip to content

bundle_uniformize

Uniformize streamlines’ endpoints according to a defined axis. Useful for tractometry or models creation.

Keywords : uniformize, Bundles, endpoints, tractometry


Format : tuple val(meta), path(bundles), path(centroids)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
bundlesfileBundle or list of bundles to uniformize.True*.trk
centroidsfileMatch endpoints of the streamlines to align it to a reference unique streamline (centroid). (optional)False*.trk

Format : tuple val(meta), path(*_uniformized.trk)

TypeDescriptionMandatoryPattern
metamapGroovy Map containing sample information e.g. [ id:'sample1', single_end:false ]True
*_uniformized.trkfileBundle or list of bundles uniformized.True*.trk

Format : path(versions.yml)

TypeDescriptionMandatoryPattern
versions.ymlfileFile containing software versionsTrueversions.yml

TypeDescriptionDefaultChoices
methodstring- “axis {x,y,z}” Match endpoints of the streamlines along this axis. SUGGESTION: Commissural = x, Association = y, Projection = z - “centroid”: Match endpoints of the streamlines to align it to a reference unique streamline (centroid). - “auto”: Match endpoints of the streamlines along an automatically determined axis.auto
swapbooleanSwap head <-> tail convention. Can be useful when the reference is not in RAS.False

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


Last updated : 2025-10-30