pylops.signalprocessing.sliding2d.sliding2d_pad_to_next¶
- pylops.signalprocessing.sliding2d.sliding2d_pad_to_next(inpt, nwin, nover, nop)[source]¶
Pad input to next slice
Pad
inptto the next slice such that the padded input is completely filled by overlapping slices.- Parameters:
- inpt
numpy.ndarray 2-dimensional input data.
- nwin
tuple Number of samples of window.
- nover
int Number of samples of overlapping part of window.
- nop
tuple Size of model in the transformed domain.
- inpt
- Returns:
- inpt_pad
numpy.ndarray 2-dimensional input data after padding along the first dimension
- nwins
int Number of windows of padded input.
- dims
tuple Shape of the 2-dimensional model of padded input.
- mwins_inends
tuple Start and end indices for model patches of padded input (stored as tuple of tuples).
- dwins_inends
tuple Start and end indices for data patches of padded input (stored as tuple of tuples).
- inpt_pad