linop.Identity

Contents

linop.Identity#

class bartorch.linop.Identity#

Bases: LinearOperator

The identity on shape, BART’s linop_identity.

It is the empty product: A ** 0 returns one, and it is the term to add when an operator needs a multiple of the identity beside it, as in A + 0.1 * Identity(A.ishape).

Parameters:

shape (tuple of int) – The shape it maps to itself, C order.

Also has the methods and properties of LinearOperator.