pylops.signalprocessing.sliding1d.sliding1d_design

pylops.signalprocessing.sliding1d.sliding1d_design(dimd, nwin, nover, nop, verb=True)[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:
dimdint

Shape of the 1-dimensional data.

nwinint

Number of samples of window.

noverint

Number of samples of overlapping part of window.

nopint

Size of model in the transformed domain.

verbbool, optional

Deprecated, will be removed in v3.0.0. Simply kept for back-compatibility with previous implementation

Returns:
nwinsint

Number of windows.

dimint

Shape of the 1-dimensional model.

mwins_inendstuple

Start and end indices for model patches.

dwins_inendstuple

Start and end indices for data patches.