Formats: BST

BrainSuite can load a set of data specified by a .bst file. The format for this is plaintext, and it is fairly simple to create. Each line of the text file specifies the type of file to be loaded, followed by the filename. The filename can be either an absolute path or a path relative to the location of the .bst file. A path can also be applied in the .bst file. An example .bst file that describes a collection of data for a tractography analysis is provided below.

Example .bst File

volume ohbmsubj.bfc.nii.gz
overlay ohbmsubj.dwi.correct.FA.color.mprage.nii.gz
label ohbmsubj.svreg.corr.label.nii.gz
tractset ohbmsubj.full.2mm.fibers.dft
mask ohbmsubj.mask.nii.gz
surface ohbmsubj.left.pial.cortex.svreg.dfs
surface ohbmsubj.right.pial.cortex.svreg.dfs

Keywords for BST File

Keyword Argument Description
path pathname Changes the path used to find files.
volume filename The primary image volume for display. The image should be in NIfTI or Analyze image format.
label filename An integer label image file in NIfTI or Analyze image format.
labeltext filename A label description file in xml format
overlay filename The first overlay image volume. The image should be in NIfTI or Analyze image format.
overlay2 filename The second overlay image volume. The image should be in NIfTI or Analyze image format.
mask filename An image volume mask. This should be an 8-bit image file in NIfTI or Analyze image format.
surface filename A surface file. This should be in BrainSuite format (.dfs) or in MNI’s OBJ format (.obj)
curveset filename A curve file. This should be in BrainSuite format (.dfc) or in LONI UCF format (.ucf).
tractset filename A fiber tract file. This should be in BrainSuite format (.dft or .dfc), or in TrackVis format (.trk).
SHC filename A spherical harmonics description file.