class ProxNest.operators.sensing_operators.Identity

Identity sensing operator

Notes

Implemented originally in optimus-primal.

adj_op(x)

Computes the forward adjoint operator of the identity class.

Parameters

x (np.ndarray) – Vector to apply identity to.

Returns

array of coefficients

Return type

np.ndarray

dir_op(x)

Computes the forward operator of the identity class.

Parameters

x (np.ndarray) – Vector to apply identity to.

Returns

array of coefficients

Return type

np.ndarray

class ProxNest.operators.sensing_operators.MaskedFourier(dim, ratio)

Masked fourier sensing operator i.e. MRI/Radio imaging.

__init__(dim, ratio)

Initialises the masked fourier sensing operator.

Parameters
  • dim (int) – Dimension of square pixel-space image.

  • ratio (float) – Fraction of measurements observed.

adj_op(x)

Computes the forward adjoint operator of the class.

Parameters

x (np.ndarray) – Vector to apply identity to.

Returns

array of coefficients

Return type

np.ndarray

dir_op(x)

Computes the forward operator of the class.

Parameters

x (np.ndarray) – Vector to apply identity to.

Returns

array of coefficients

Return type

np.ndarray