mrpro.operators.models.EPG.DelayBlock

class mrpro.operators.models.EPG.DelayBlock[source]

Bases: EPGBlock

Delay Block.

__init__(delay_time: Tensor | float) None[source]

Initialize the delay block.

Parameters:

delay_time (Tensor | float) – Delay time

property duration: Tensor[source]

Duration of the block.

__call__(parameters: Parameters, states: Tensor | int = 20) tuple[Tensor, tuple[Tensor, ...]][source]

Apply the block.

Parameters:
  • parameters (Parameters) – Tissue parameters

  • states (Tensor | int, default: 20) – EPG configuration states. If an integer value, the equilibrium state (0, 0, 1) will be initialized with the given number of EPG configuration states. The number should be large enough to capture the signal dynamics. More states increase the accuracy of the simulation but also the computational cost.

forward(parameters: Parameters, states: Tensor) tuple[Tensor, tuple[Tensor, ...]][source]

Apply the delay block to the EPG state.

Parameters:
  • parameters (Parameters) – Tissue parameters

  • states (Tensor) – EPG configuration states

Returns:

EPG configuration states after the block and an empty list