linop.MultiplySum

Contents

linop.MultiplySum#

class bartorch.linop.MultiplySum#

Bases: LinearOperator

Multiply by a tensor and sum over the axes absent from the codomain.

BART’s fmac. This is the coil model: with sensitivities of shape (coils, y, x), ishape (1, y, x) and oshape (coils, y, x) it maps an image to coil images, and its adjoint combines coil images with the conjugate sensitivities.

Parameters:
  • tensor (tensor) – What to multiply by.

  • ishape (tuple of int) – Domain and codomain, C order. An axis the domain has and the codomain does not is summed over.

  • oshape (tuple of int) – Domain and codomain, C order. An axis the domain has and the codomain does not is summed over.

Also has the methods and properties of LinearOperator.