linop.Permute

Contents

linop.Permute#

class bartorch.linop.Permute#

Bases: LinearOperator

Rearrange the axes, BART’s linop_permute.

Parameters:
  • shape (tuple of int) – Domain, C order.

  • order (sequence of int) – Permutation of range(len(shape)), as for torch.permute: axis i of the output is axis order[i] of the input.

Also has the methods and properties of LinearOperator.