spyrit.core.meas

Measurement operators, static and dynamic.

There are six classes contained in this module, each representing a different type of measurement operator. Three of them are static, i.e. they are used to simulate measurements of still images, and three are dynamic, i.e. they are used to simulate measurements of moving objects, represented as a sequence of images.

The inheritance tree is as follows:

  Linear          DynamicLinear
    |                   |
    V                   V
LinearSplit     DynamicLinearSplit
    |                   |
    V                   V
HadamSplit      DynamicHadamSplit

Classes

DynamicHadamSplit(M, h[, Ord, img_shape])

Simulates the measurement of a moving object using a splitted operator \(y = \begin{bmatrix}{H_{+}}\\{H_{-}}\end{bmatrix} \cdot x(t)\) with \(H\) a Hadamard matrix.

DynamicLinear(H[, Ord, meas_shape, img_shape])

Simulates the measurement of a moving object \(y = H \cdot x(t)\).

DynamicLinearSplit(H[, Ord, meas_shape, ...])

Simulates the measurement of a moving object using a splitted operator \(y = \begin{bmatrix}{H_{+}}\\{H_{-}}\end{bmatrix} \cdot x(t)\).

HadamSplit(M, h[, Ord])

Simulates splitted measurements \(y = \begin{bmatrix}{H_{+}}\\{H_{-}}\end{bmatrix}x\) with \(H\) a Hadamard matrix.

Linear(H[, pinv, rtol, Ord, meas_shape])

Simulates linear measurements \(y = Hx\).

LinearSplit(H[, pinv, rtol, Ord, meas_shape])

Simulates splitted measurements \(y = \begin{bmatrix}{H_{+}}\\{H_{-}}\end{bmatrix}x\).