nifty8.operators.partial_conjugate module#
- class PartialConjugate(domain, conjugation_keys)[source]#
Bases:
EndomorphicOperator
Perform partial conjugation of a
MultiField
- Parameters:
domain (MultiDomain) – The operator’s input domain and output target
conjugation_keys (iterable of string) – The keys of the
MultiField
for which complex conjugation should be performed.
- apply(x, mode)[source]#
Applies the Operator to a given x, in a specified mode.
- Parameters:
x (
nifty8.field.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: