fps2diminfo {AnalyzeFMRI}R Documentation

fps2diminfo

Description

Encode freq.dim, phase.dim and slice.dim fields into the one byte dim.info field of a NIFTI header file.

Usage

fps2diminfo(freq.dim,phase.dim,slice.dim)

Arguments

freq.dim

freq.dim field of a NIFTI file

phase.dim

phase.dim field of a NIFTI file

slice.dim

slice.dim field of a NIFTI file

Value

A list containing dim.info field.

See Value Section of the help file of function diminfo2fps().

See Also

diminfo2fps

Examples

dim.info <- f.read.header(system.file("example-nifti.hdr", package="AnalyzeFMRI"))$dim.info
mylist <- diminfo2fps(dim.info)
fps2diminfo(mylist$freq.dim,mylist$phase.dim,mylist$slice.dim)

[Package AnalyzeFMRI version 1.1-24 Index]