read.dti.tsf.header: Read the header of a file in MRtrix 'TSF' format.

View source: R/read_dti_tcktsf.R

read.dti.tsf.headerR Documentation

Read the header of a file in MRtrix 'TSF' format.

Description

Reads only the ASCII header of the file, see read.dti.tck.header.

Usage

read.dti.tsf.header(filepath)

Arguments

filepath

character string, path to the TCK or TSF file to read. Gzip-compressed files (i.e., .tck.gz) are supported and the compression is detected from the file content, not the file name.

Value

named list, the parsed header.

Examples

## Not run: 
hdr <- read.dti.tsf.header("brain.tsf");

## End(Not run)


freesurferformats documentation built on Sept. 25, 2026, 1:07 a.m.