cli.read

Contents

cli.read#

bartorch.cli.read()#

Read a CFL pair as a tensor in this package’s C-order layout.

Parameters:

path (str) – File name without the .cfl/.hdr suffix.

Returns:

The array, with the shape of BART’s dimensions reversed.

Return type:

torch.Tensor