Array functions and settings#
The functions of the bartorch namespace. Shapes are C order, and an axis
argument is an index into a tensor’s shape.
Fourier transforms#
Fourier transform along |
|
Inverse Fourier transform along |
|
Move the zero frequency to the middle along |
|
Multiply by the alternating phase that centres an uncentred transform, along |
|
Non-uniform Fourier transform of an image to samples along |
|
Adjoint of |
Wavelet transforms#
Thresholding#
Soft thresholding, |
|
Hard thresholding: keep |
Array utilities#
Crop or zero-pad |
|
Reverse |
|
Cyclic shift along |
|
Cyclic convolution of |
|
Multiply by a Hamming window along each of |
|
Median over each window of |
|
Mean over each window of |
|
Divide by the l2 norm over |
|
Maximum (or minimum, |
|
Unwrap the real part along |
|
Casorati matrix of the overlapping blocks of |
|
Root of the sum of squared magnitudes over |
Interpolation#
Sample |
|
Pull |
|
Resample |
|
Shift the field of view of k-space data by a linear phase. |
Registration#
Affine transform that maps |
|
Displacement field from |
|
Sub-voxel shift that moves |
Image-quality metrics#
Normalized root mean square error |
|
Mean squared error |
|
Mean structural similarity of the magnitudes ( |
|
Peak signal-to-noise ratio of the magnitudes in decibels, averaged over images ( |
|
Statistic of |
Coil kernels#
Coil sensitivities as k-space kernels: the centre of each map's unitary spectrum. |
|
The maps a kernel bank stands for: zero-padded to |
Interoperability#
A |
Errors#
A BART command or operator failed; the message is BART's. |
Runtime settings#
Set the number of threads BART, its FFT and FINUFFT's host transforms use. |
|
Whether a command works on a private copy of each input, which is the default. |
|
Set BART's verbosity: 0 errors, 1 warnings, 2 info, 3 and up debug. |
|
CUDA#
Whether BART can run on a CUDA device: built with CUDA, and a device present. |
|
Set the number of CUDA streams BART runs on, 1 to 8. |
|
Whether BART keeps freed device memory for its own reuse. |
Build information#
Version string of the embedded BART. |
|
How the library was built: BART version, compiler, nested-function mode, CUDA. |
|
The library serving each BLAS and LAPACK routine, and the FFT. |