f.write.nii.array.to.img.float: write array of 4 byte floats and add at the begining of the file the NIFTI header part
Description
Writes an array to a .img file of 4 byte floats and add at the begining of the file the NIFTI header part
Usage
f.write.nii.array.to.img.float(mat,L,file)
Arguments
L
A list containing the header information
file
The name of the file to be written, preferably with .img
suffix