sigpy.linop.Slice

class sigpy.linop.Slice(ishape, idx)[source]

Slice input with given index.

Given input input and index idx, returns input[idx].

Parameters:
  • ishape (tuple of ints) – Input shape.
  • idx (slice or tuple of slices) – Index.
__init__(ishape, idx)[source]

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

Methods

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

Attributes

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