powered by
Encode freq.dim, phase.dim and slice.dim fields into the one byte dim.info field of a NIFTI header file.
fps2diminfo(freq.dim,phase.dim,slice.dim)
A list containing dim.info field.
dim.info
See Value Section of the help file of function diminfo2fps().
freq.dim field of a NIFTI file
phase.dim field of a NIFTI file
slice.dim field of a NIFTI file
diminfo2fps
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)
Run the code above in your browser using DataLab