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
- dimsd
tuple
Shape of 2-dimensional data.
- nwin
tuple
Number of samples of window.
- nover
tuple
Number of samples of overlapping part of window.
- nop
tuple
Size of model in the transformed domain.
- dimsd
- Returns
- nwins
int
Number of windows.
- dim
int
Shape of 2-dimensional model.
- mwins_inends
tuple
Start and end indices for model patches.
- dwins_inends
tuple
Start and end indices for data patches.
- nwins