nifti.time.info: Compute NIFTI time unit info from xyzt_units header field.

View source: R/nifti_to_mgh.R

nifti.time.infoR Documentation

Compute NIFTI time unit info from xyzt_units header field.

Description

Compute NIFTI time unit info from xyzt_units header field.

Usage

nifti.time.info(xyzt_units)

Arguments

xyzt_units

a single character, the 'xyzt_units' NIFTI header field

Value

named list with entries: 'code': the NIFTI unit code as a decimal integer, 'name': character string, the unit name, 'scaling': float, the scaling factor for the unit, relative to the FreeSurfer time unit ('ms').


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