mrpro.operators.models.EPG.AcquisitionBlock
- class mrpro.operators.models.EPG.AcquisitionBlock[source]
Bases:
EPGBlock
Acquisition block.
- __call__(parameters: Parameters, states: Tensor | int = 20) tuple[Tensor, tuple[Tensor, ...]] [source]
Apply the block.
- Parameters:
parameters (
Parameters
) – Tissue parametersstates (
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 acquisition block to the EPG state.
- Parameters:
parameters (
Parameters
) – Tissue parametersstates (
Tensor
) – EPG configuration states
- Returns:
EPG configuration states (unchanged) after the block and the acquired signal