mri.operators.base
mri.operators.base#
Base Operator.
Every operator should have an op and adj_op methods.
- class OperatorBase[source]#
Bases:
object
Base Operator class.
Every linear operator inherits from this class, to ensure that we have all the functions rightly implemented as required by Modopt
- op(data)[source]#
Compute operator transform.
- Parameters
data (numpy.ndarray) – input as array.
- Returns
result – operator transform of the input.
- Return type
- adj_op(coeffs)[source]#
Compute adjoint operator transform.
- Parameters
x (numpy.ndarray) – input data array.
- Returns
results – adjoint operator transform.
- Return type