linop.MultiplySum

Contents

linop.MultiplySum#

class bartorch.linop.MultiplySum#

Bases: LinearOperator

Multiply by a tensor and sum over the axes the codomain reduces, BART’s linop_fmac.

With sensitivities of shape (coils, y, x), ishape=(1, y, x) and oshape=(coils, y, x) this is the coil model: image to coil images, and the adjoint is the coil combination with conjugate sensitivities.

Parameters:
  • tensor (tensor) – Multiplier, broadcast against the domain and codomain.

  • ishape (tuple of int) – Domain and codomain, C order. An axis of size one in oshape and larger in the product is summed over.

  • oshape (tuple of int) – Domain and codomain, C order. An axis of size one in oshape and larger in the product is summed over.

Also has the methods and properties of LinearOperator.