pylops.signalprocessing.sliding1d.sliding1d_design

pylops.signalprocessing.sliding1d.sliding1d_design(dimd, nwin, nover, nop)[source]

Design Sliding1D operator

This routine can be used prior to creating the pylops.signalprocessing.Sliding1D 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.

nwintuple

Number of samples of window.

novertuple

Number of samples of overlapping part of window.

noptuple

Size of model in the transformed domain.

Returns
nwinsint

Number of windows.

dimint

Shape of 2-dimensional model.

mwins_inendstuple

Start and end indices for model patches.

dwins_inendstuple

Start and end indices for data patches.