mghheader: Constructor to init MGH header instance.

View source: R/mghheader.R

mghheaderR Documentation

Constructor to init MGH header instance.

Description

Constructor to init MGH header instance.

Usage

mghheader(dims, mri_dtype_code)

Arguments

dims

integer vector of length 4, the header dimensions. Example: c(256L, 256L, 256L, 1L).

mri_dtype_code

integer, a valid MRI datatype. See translate.mri.dtype.

Value

a named list representing the header


freesurferformats documentation built on May 29, 2024, 5:29 a.m.