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 fas 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).Noneatd = 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(), againstaux, the frame’s uniform companion), withmisfit_gradientthe tied gradient; each group’s filter is zeroed on the companion’s paddeds_glevels by the frame’s masks (an SVD does not guarantee exact zeros there), andsigma_minreads the group’s REALs_glevels 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]