nifti.dtype.info: Compute NIFTI v1 data type info from datatype and bitpix...

Description Usage Arguments Value

View source: R/nifti_to_mgh.R

Description

Compute NIFTI v1 data type info from datatype and bitpix header field.

Usage

1
nifti.dtype.info(datatype, bitpix)

Arguments

datatype

integer, the 'datatype' NIFTI v1 header field

bitpix

integer, the 'bitpix' NIFTI v1 header field

Value

named list with entries: 'mri_dtype': the MRI data type, as used by FreeSurfer for MGH files, 'r_dtype': the R data type.


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