mr2.data.bart
Reading and writing BART arrays.
BART [BART] stores complex64 arrays either as a pair of files, a text header (.hdr) and the
column-major data (.cfl), or as a single raw array file (.ra) [BARTFMT].
These functions do not require BART to be installed.
Notes on using the files with the BART command line:
BART expects the name without suffix for
.hdr/.cflpairs, e.g.bart pics kspace sens reconfor files written askspace.cflandsens.cfl..rafiles are passed with their suffix.bart picsdoes not accept data alongBartDimension.BATCH, the default for flattenedotherdimensions, andbart ecalibreturns a single set of maps for all non-spatial dimensions. Use BART’s loop option, e.g.bart -l 32768 -e <n> pics ...loops overnentries of the batch dimension (flag1 << 15), or choose other BART dimensions withother_dims.
References
Module Attributes
File suffixes of BART arrays. |
|
BART dimensions of images |
|
BART dimensions of non-Cartesian k-space samples |
|
BART dimensions of non-Cartesian trajectories |
Functions
|
Raise an error if BART files with these names would overwrite each other. |
|
Arrange a tensor in BART dimension order as MR2 tensor. |
|
Check if a filename refers to a BART array by its suffix. |
|
Read a BART array. |
|
Arrange an MR2 tensor in BART dimension order. |
|
Write a tensor as BART array. |