f.basic.hdr.nifti.list.create {AnalyzeFMRI} | R Documentation |
Creates a basic list that can be used to write a .hdr file or the header part of a .nii file
f.basic.hdr.nifti.list.create(dim.mat, file)
dim.mat |
dim.mat vector of the dimensions of the image
array associated with the header file to be written |
file |
file Name of the .hdr file that will be contained
in the file field of the header |
Returns a list of all the fields needed to create a .hdr file (see the function code for details).
f.write.list.to.hdr.nifti
,
f.nifti.file.summary
dim.mat <- c(20,30,40,3) file<-"temp.hdr" f.basic.hdr.nifti.list.create(dim.mat, file)