pylops.signalprocessing.sliding2d.sliding2d_design#

pylops.signalprocessing.sliding2d.sliding2d_design(dimsd, nwin, nover, nop)[source]#

Design Sliding2D operator

This routine can be used prior to creating the pylops.signalprocessing.Sliding2D operator to identify the correct number of windows to be used based on the dimension of the data (dimsd), dimension of the window (nwin), overlap (nover),a and dimension of the operator acting in the model space.

Parameters
dimsdtuple

Shape of 2-dimensional data.

nwinint

Number of samples of window.

noverint

Number of samples of overlapping part of window.

noptuple

Size of model in the transformed domain.

Returns
nwinsint

Number of windows.

dimstuple

Size of 2-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).