pylops.signalprocessing.patch3d.patch3d_pad_to_next

pylops.signalprocessing.patch3d.patch3d_pad_to_next(inpt, nwin, nover, nop)[source]

Pad input to next set of patches

Pad inpt to the next set of patches such that the padded input is completely filled by overlapping patches.

Parameters:
inptnumpy.ndarray

3-dimensional input data.

nwintuple

Number of samples of window.

novertuple

Number of samples of overlapping part of window.

noptuple

Size of model in the transformed domain.

Returns:
inpt_padnumpy.ndarray

3-dimensional input data after padding along all dimensions

nwinstuple

Number of windows.

dimstuple

Shape of the 3-dimensional model

mwins_inendstuple

Start and end indices for model patches (stored as tuple of tuples).

dwins_inendstuple

Start and end indices for data patches (stored as tuple of tuples).