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

View source: R/nifti_to_mgh.R

nifti.dtype.infoR Documentation

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

Description

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

Usage

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