deepmr.io.write_acqheader#
- deepmr.io.write_acqheader(filename, head, filepath='./', dataformat='hdf5')[source]#
Write acquisition header to file.
Supported output format are
hdf5
(faster i/o) andmrd
.- Parameters:
filename (str) – Name of the file.
head (Header) – Structure containing trajectory of shape
(ncontrasts, nviews, npts, ndim)
and meta information (shape, resolution, spacing, etc).filepath (str, optional) – Path to file. The default is
./
.dataformat (str, optional) – Available formats (
mrd
orhdf5
). The default ishdf5
.