spyrit.misc.dual_arm.MotionFieldProjector.forward

MotionFieldProjector.forward(warping: str, amp_max: int = 0) Tensor[source]

Complete forward pass for motion estimation.

Args:

warping: ‘pattern’ or ‘image’. Matches the warping mode used in the Dynamic classes from spyrit.core.meas.

amp_max: Amplitude of the extended field of view.

Returns:

SPC deformation field of shape (2*M, l, l, 2).

Raises:

RuntimeError: If any step fails during processing.