sigpy.resize¶
-
sigpy.
resize
(input, oshape, ishift=None, oshift=None)[source]¶ Resize with zero-padding or cropping.
Parameters: - input (array) – Input array.
- oshape (tuple of ints) – Output shape.
- ishift (None or tuple of ints) – Input shift.
- oshift (None or tuple of ints) – Output shift.
Returns: Zero-padded or cropped result.
Return type: array