linop.Extract#
- class bartorch.linop.Extract#
Bases:
LinearOperatorTake the block of
oshapethat starts atstart, BART’slinop_extract.The restriction operator: its adjoint puts the block back where it came from and leaves the rest zero. Indexing an operator with
A[...]builds one.- Parameters:
start (sequence of int) – Where the block begins, one offset per axis of
ishape.oshape (tuple of int) – The block and the shape it comes out of, C order.
ishape (tuple of int) – The block and the shape it comes out of, C order.
Also has the methods and properties of LinearOperator.