xyzt2space(xyzt)
xyzt2time(xyzt)
space.time2xyzt(ss, tt)
dim2freq(di)
dim2phase(di)
dim2slice(di)
xyzt2space
and xyzt2time
can be used to mask off
the undesired bits from the xyzt_units fields, leaving pure
space and time codes.
http://nifti.nimh.nih.gov/nifti-1/documentation/nifti1fields/nifti1fields_pages/xyzt_units.htmlThe functions dim2freq
, dim2phase
, and dim2slice
can be
used to extract values from the dim_info byte.
http://nifti.nimh.nih.gov/nifti-1/documentation/nifti1fields/nifti1fields_pages/dim_info.html
convert.units
, convert.slice