compsense.operators.opBase

class compsense.operators.opBase(name, shape, in_signal_shape=None, out_signal_shape=None)[source]

Base class for operators

Attributes :

name : string

Name of operator.

shape : (int, int)

The shape of the operator.

in_signal_shape : tuple of ints

The shape of the input signal.

out_signal_shape : tuple of ints

The shape of the output signal.

T : type(self)

The transpose of the operator.

Parameters :

name : string

Name of operator.

shape : (int, int)

The shape of the operator. shape[1] is the size of the input signal. shape[0] is the size of the output signal.

in_signal_shape : tuple of integers, optional (default=None)

The shape of the input signal. The product of in_signal_shape should be equal to shape[1]. If None, then it is set to (shape[1], 1).

out_signal_shape : tuple of ints

The shape of the output signal. The product of out_signal_shape should be equal to shape[1]. If in_signal_shape=None, then it is set to (shape[0], 1). If out_signal_shape=None and shape[0]=shape[1] then out_signal_shape=in_signal_shape.

Attributes

T The transpose of the operator.
in_signal_shape The shape of the input signal for the operator.
name Name of operator.
out_signal_shape The shape of the output signal for the operator.
shape The shape of the operator.

Previous topic

compsense.algorithms.TwIST_raw

Next topic

compsense.operators.opMatrix

This Page