math
Module: tractogram/math
This module performs mathematical operations on tractograms. It can be used to concatenate multiple tractograms into a single file, compute the union of multiple tractograms, or perform other operations. The available operations are:
- Concatenate: Combine multiple tractograms into a single file.
- Union: Compute the union of multiple tractograms.
- Intersection: Compute the intersection of multiple tractograms.
- Difference: Compute the difference between two tractograms.
- Lazy Concatenate: Concatenate multiple tractograms without loading them into memory.
Keywords : tractogram, math, concatenate
Inputs
Type | Description | Mandatory | Pattern | |
---|---|---|---|---|
meta | map | Groovy Map containing sample information e.g. [ id:'sample1', single_end:false ] | true | |
trks | file | List of tractograms to perform the operation on. e.g. [ path(trk1), path(trk2), path(trk3), ...] | true | *.trk |
reference | file | Reference tractogram to use for the operation. e.g. [ path(reference) ] | false | *.{nii,nii.gz} |
Outputs
Type | Description | Pattern | |
---|---|---|---|
meta | map | Groovy Map containing sample information e.g. [ id:'sample1', single_end:false ] | |
trk | file | Resulting tractogram after the operation. e.g. [ path(trk) ] | *.trk |
versions | file | File containing software versions | versions.yml |
Tools
Description | DOI | |
---|---|---|
scilpy | The Sherbrooke Connectivity Imaging Lab (SCIL) Python dMRI processing toolbox. |
Authors
Maintainers
Last updated : 2025-07-15