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

View source: R/read_fs_mgh.R

translate.mri.dtypeR Documentation

Translate between code and name of MRI data types.

Description

Translate between code and name of MRI data types.

Usage

translate.mri.dtype(dtype)

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 May 29, 2024, 5:29 a.m.