The PMI toolbox normally uses its own data format
(the PMI data format) for storing
experimental data along with a copy of the imaging geometry. Included
with the toolbox are routines for reading and writing data as PMI data
formatted files. Non-PMI data file formats are not supported
natively, although users are, of course, free to write their own
import/export routines.
readPMIData() loads data in the PMI data format from
disk into matlab. When the data is loaded in, the meta-data at the
start of the file is parsed to fill in an
SD structure, which is returned
along with the data.
writePMIData() takes a matrix containing data and an
SD structure describing the data
and writes the data to disk in a PMI formated datafile. The
measurement list in the SD must match the data
matrix. This would be used, for example, to convert data from an
external file format into PMI data format.