mrpro.operators.models.SaturationRecovery

class mrpro.operators.models.SaturationRecovery[source]

Bases: SignalModel[Tensor, Tensor]

Signal model for saturation recovery.

__init__(ti: float | Tensor)[source]

Initialize saturation recovery signal model for T1 mapping.

Parameters:

ti (float | Tensor) – saturation times with shape (time, …)

__call__(*args: Unpack) Tout[source]

Apply the forward operator.

For more information, see forward.

Note

Prefer using operator_instance(*parameters), i.e. using __call__ over using forward.

forward(m0: Tensor, t1: Tensor) tuple[Tensor][source]

Apply saturation recovery signal model.

Parameters:
  • m0 (Tensor) – equilibrium signal / proton density with shape (*other, coils, z, y, x)

  • t1 (Tensor) – longitudinal relaxation time T1 with shape (*other, coils, z, y, x)

Returns:

signal with shape (time, *other, coils, z, y, x)

__add__(other: Operator[Unpack, Tout]) Operator[Unpack, Tout][source]
__add__(other: Tensor) Operator[Unpack, tuple[Unpack]]

Operator addition.

Returns lambda x: self(x) + other(x) if other is a operator, lambda x: self(x) + other*x if other is a tensor

__matmul__(other: Operator[Unpack, tuple[Unpack]]) Operator[Unpack, Tout][source]

Operator composition.

Returns lambda x: self(other(x))

__mul__(other: Tensor | complex) Operator[Unpack, Tout][source]

Operator multiplication with tensor.

Returns lambda x: self(x*other)

__radd__(other: Tensor) Operator[Unpack, tuple[Unpack]][source]

Operator right addition.

Returns lambda x: other*x + self(x)

__rmul__(other: Tensor | complex) Operator[Unpack, Tout][source]

Operator multiplication with tensor.

Returns lambda x: other*self(x)