mrpro.operators.PhaseOp

class mrpro.operators.PhaseOp(*args, **kwargs)[source]

Bases: EndomorphOperator

Phase of input tensors.

__init__(*args, **kwargs) None

Initialize internal Module state, shared by both nn.Module and ScriptModule.

forward(*x: Tensor) tuple[Tensor, ...][source]

Phase of tensors.

Parameters:

x – input tensors

Return type:

tensors with phase of input tensors