nlop.Multiply

Contents

nlop.Multiply#

class bartorch.nlop.Multiply#

Bases: NonlinearOperator

Pointwise product of two inputs, BART’s tenmul.

The derivative by either input is multiplication by the other. nlinv’s model is this product of an image (1, y, x) and coil profiles (coils, y, x).

Parameters:
  • a (tuple of int) – Shapes of the two inputs, C order and of equal rank; axes of size one broadcast.

  • b (tuple of int) – Shapes of the two inputs, C order and of equal rank; axes of size one broadcast.

Raises:

ValueError – If the ranks differ or an axis does not broadcast.

Also has the methods and properties of NonlinearOperator.