ManifoldGeometryOps.aligned_padded_frame ======================================== .. py:method:: t3toolbox.backend.geometry.ManifoldGeometryOps.aligned_padded_frame(x0, x_old, project, hint, oversampling = ALIGN_OVERSAMPLING, oversampled_passes = ALIGN_OVERSAMPLED_PASSES, max_passes = ALIGN_MAX_PASSES, tol = ALIGN_TOL, alternate = ALIGN_ALTERNATE, seed = ZERO_FRAME_SEED, use_jit = False, timing = False) .. code-block:: python def aligned_padded_frame( self, x0: typ.Tuple, # (tucker_cores, tt_cores): the point at the target ranks x_old: typ.Optional[typ.Tuple], # the old point's cores at minimal ranks (rank 0 allowed); None = the zero tensor project: typ.Callable, # project(frame, hint) -> variations hint: typ.Any, # opaque oversampling: int = ALIGN_OVERSAMPLING, oversampled_passes: int = ALIGN_OVERSAMPLED_PASSES, max_passes: int = ALIGN_MAX_PASSES, tol: float = ALIGN_TOL, alternate: bool = ALIGN_ALTERNATE, seed: int = ZERO_FRAME_SEED, use_jit: bool = False, # passed to the loop timing: bool = False, # True: a third element, the seconds per pass ) -> typ.Union[ typ.Tuple[ typ.Tuple, # the aligned frame of x0 typ.Tuple[NDArray, ...], # movements, one per pass, each shape=C ], typ.Tuple[typ.Tuple, typ.Tuple[NDArray, ...], typ.Tuple[float, ...]], # timing=True: the two, then the seconds per pass ]: The aligned padded frame of ``x0`` from ``x_old``: :py:func:`~t3toolbox.backend.padded_frames.fv_aligned_padded_frame`. ``timing=True`` adds the seconds per pass (``()`` when no pass runs), each from a synchronized start to a synchronized end; the frame and movements are those of ``timing=False``, bitwise.