linop.Repeat

Contents

linop.Repeat#

class bartorch.linop.Repeat#

Bases: LinearOperator

Repeat along axes up to shape, BART’s linop_repmat.

The adjoint of Sum: the domain is shape with the repeated axes set to one, so this is the broadcast that Sum undoes.

Parameters:
  • shape (tuple of int) – The codomain, C order – what the repeating produces.

  • axes (int or tuple of int) – Which axes to repeat along.

Also has the methods and properties of LinearOperator.