PhysicsCropper#

class deepinv.physics.PhysicsCropper(physics, crop)[source]#

Bases: LinearPhysics

Cropping for linear physics operators.

Given a linear physics operator \(A\), this operator instantiates a new operator \(\tilde{A} = A \circ C\) where \(C\) is a cropping operator that crops the input tensor. The adjoint operator is defined as \(\tilde{A}^{\top} = C^{\top} \circ A^{\top}\) and \(C^{\top}\) is a padding operator that pads the input tensor to the original size.

Parameters: