Menu

Package that provides tools for brain MRI Deep Learning pre-processing.

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.

brainprep.workflow.tbss.brainprep_tbss_preproc(outdir, fa_file=None, data=None, bvecs=None, bvals=None, mask=None, target=None)[source]ΒΆ

Define TBSS pre-processing workflow.

Parameters:

outdir : str

the TBSS destination folder.

data : str, default None

diffusion weighted image data file named using BIDS rules - a 4D serie of volumes: *_dwi.nii.gz.

bvecs : str, default None

b-vectors file containing gradient directions: an ASCII text file containing a list of gradient directions applied during diffusion weighted volumes. The order of entries in this file must match the order of volumes in the input data.

bvals : str, default None

b-values file: an ASCII text file containing a list of b-values applied during each volume acquisition. The order of entries in this file must match the order of volumes in the input data.

mask : str, default None

brain binary mask file: a single binarized volume in diffusion space containing ones inside the brain and zeros outside the brain.

target : str, default None

optionally define a target image to use during the non-linear registration, otherwise use the FMRIB58_FA_1mm target.

Follow us

© 2025, brainprep developers