nifty7.operators.sum_operator module#
- class SumOperator(ops, neg, dom, tgt, _callingfrommake=False)[source]#
Bases:
LinearOperator
Class representing sums of operators.
Notes
This operator has to be called using the make method.
- property adjoint#
the adjoint of self
Returns a LinearOperator object which behaves as if it were the adjoint of this operator.
- Type:
- apply(x, mode)[source]#
Applies the Operator to a given x, in a specified mode.
- Parameters:
x (Field) – The input Field, defined on the Operator’s domain or target, depending on mode.
mode (int) –
TIMES
: normal applicationADJOINT_TIMES
: adjoint applicationINVERSE_TIMES
: inverse applicationADJOINT_INVERSE_TIMES
orINVERSE_ADJOINT_TIMES
: adjoint inverse application
- Returns:
The processed Field defined on the Operator’s target or domain, depending on mode.
- Return type: