UniformManifoldGeometryOps.curvature_precompute#

t3toolbox.backend.geometry.UniformManifoldGeometryOps.curvature_precompute(frame_data, misfit_gradient, aux, curvature_damping)#
def curvature_precompute(
        self,
        frame_data:         typ.Tuple,                   # uniform frame .data = (D, U, L, R, shape, masks)
        misfit_gradient:    typ.Tuple,                   # bare pair Pi J^T omega^2 r: the ONE misfit transpose
        aux:                typ.Any,                     # self.precompute(frame_data)
        curvature_damping:  typ.Optional[float],         # RELATIVE to ||X||_HS; None -> DEFAULT_CURVATURE_DAMPING
) -> typ.Optional[ManifoldCurvatureData]:                # None iff the curvature term vanishes here (d = 1)

The uniform twin of ManifoldGeometryOps.curvature_precompute(): the same per-frame data on the supercores – the lift factors (ufv_lift_factors()), grad f as a doubled-rank uniform T3 and its inner-product sweep at the base point (ut3_precompute_inner_product_sweep()), and the smallest REAL lift singular value (padded slots excluded through the frame’s host masks). None at d = 1 (the flat case, a cost shortcut). The masks every piece uses are the frame’s own (frame_data[5]).

Shared (groups): the ragged geometry’s tied lift on the supercores (ufv_tied_lift_factors(), against aux, the frame’s uniform companion), with misfit_gradient the tied gradient; each group’s filter is zeroed on the companion’s padded s_g levels by the frame’s masks (an SVD does not guarantee exact zeros there), and sigma_min reads the group’s REAL s_g levels in place of its modes’ own spectra. A zero-padded restart’s new levels are real and filter to exactly 0, as on the ragged layer.

Parameters:
  • frame_data (t3toolbox.backend.common.typ.Tuple)

  • misfit_gradient (t3toolbox.backend.common.typ.Tuple)

  • aux (t3toolbox.backend.common.typ.Any)

  • curvature_damping (t3toolbox.backend.common.typ.Optional[float])

Return type:

t3toolbox.backend.common.typ.Optional[ManifoldCurvatureData]