cr.sparse.lop.windowed_op

cr.sparse.lop.windowed_op(m, T, overlap=0, axis=0)[source]

A wrapper to convert an operator into an overcomplete windowed operator

Parameters
  • m (int) – Length of output

  • T (Operator) – The linear operator to be wrapped

  • overlap (int) – The amount of overlap between two windows

This operator scans the input window by window, applies T on each window and then concatenates the results.

  • The window length is determined on the basis of the input size for T.

  • The length of input (n) is determined on the window and overlap sizes.

  • overlap must be less than window length.

If overlap is zero, then this operator behaves like a block diagonal operator which each block is processed by T.