translate.mri.dtype: Translate between code and name of MRI data types.

Description Usage Arguments Value

View source: R/read_fs_mgh.R

Description

Translate between code and name of MRI data types.

Usage

1

Arguments

dtype

character string (one of c('MRI_FLOAT') or integer, one of c(0L, 1L, 3L, 4L). Numeric values will be converted to integer.

Value

if 'dtype' is a character string, the respective integer code. If it is numeric, the respective character string.


freesurferformats documentation built on Feb. 11, 2022, 5:06 p.m.