sigpy.linop.Embed¶
-
class
sigpy.linop.
Embed
(oshape, idx)[source]¶ Embed input into a zero array with the given shape and index.
Given input input and index idx, returns output with output[idx] = input.
Parameters: - oshape (tuple of ints) – output shape.
- idx (slice or tuple of slices) – Index.
Methods
__init__
(oshape, idx)Initialize self. apply
(input)Apply linear operation on input. Attributes
H
Return adjoint linear operator. N
Return normal linear operator.