linop.ScaledSum

Contents

linop.ScaledSum#

class bartorch.linop.ScaledSum#

Bases: LinearOperator

Sum over axes, divided by the square root of how many were summed.

BART’s linop_scaled_sum. The normal operator is an orthogonal projection, so the spectral norm is one, and pinv() is BART’s closed form rather than an iteration. The summed axes are kept with size one.

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

  • axes (int or tuple of int) – Axes to sum.

Also has the methods and properties of LinearOperator.