sigpy.linop.ArrayToBlocks

class sigpy.linop.ArrayToBlocks(ishape, blk_shape, blk_strides)[source]

Extract blocks from an array in a sliding window manner.

Parameters:
  • ishape (array) – input array of shape […, N_1, …, N_D]
  • blk_shape (tuple) – block shape of length D, with D <= 4.
  • blk_strides (tuple) – block strides of length D.

See also

sigpy.block.array_to_blocks()

__init__(ishape, blk_shape, blk_strides)[source]

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

Methods

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

Attributes

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