pylops.signalprocessing.sliding1d.sliding1d_pad_to_next¶
- pylops.signalprocessing.sliding1d.sliding1d_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 1-dimensional input data.
- nwin
tuple Number of samples of window.
- nover
int Number of samples of overlapping part of window.
- nop
int Size of model in the transformed domain.
- inpt
- Returns:
- inpt_pad
numpy.ndarray 1-dimensional input data after padding
- nwins
int Number of windows of padded input.
- dim
int Shape of the 1-dimensional model of padded input.
- mwins_inends
tuple Start and end indices for model patches of padded input.
- dwins_inends
tuple Start and end indices for data patches of padded input.
- inpt_pad