sigpy.linop.BlocksToArray

class sigpy.linop.BlocksToArray(oshape, blk_shape, blk_strides)[source]

Accumulate blocks into an array in a sliding window manner.

Parameters:
  • oshape (tuple) – output shape.
  • blk_shape (tuple) – block shape of length D.
  • blk_strides (tuple) – block strides of length D.
Returns:

array of shape oshape.

Return type:

array

__init__(oshape, blk_shape, blk_strides)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(oshape, blk_shape, blk_strides) Initialize self.
apply(input) Apply linear operation on input.

Attributes

H Return adjoint linear operator.
N Return normal linear operator.