compute_deta_jets#

t3toolbox.backend.sampling_derivatives.compute_deta_jets(var_tt_cores, left_tt_cores, right_tt_cores, mu_jets, nu_jets, sigma_jets, tau_jets)#
def compute_deta_jets(
        var_tt_cores:   typ.Sequence[NDArray],  # H.  len=d, elm_shape=K+C+(rLi,nDi,rR(i+1))
        left_tt_cores:  typ.Sequence[NDArray],  # L.  len=d, elm_shape=C+(rLi,nDi,rL(i+1))
        right_tt_cores: typ.Sequence[NDArray],  # R.  len=d, elm_shape=C+(rRi,nDi,rR(i+1))
        mu_jets:        typ.Sequence[NDArray],  # len=d, elm_shape=(order+1,)+W+C+(rLi,)
        nu_jets:        typ.Sequence[NDArray],  # len=d, elm_shape=(order+1,)+W+C+(rR(i+1),)
        sigma_jets:     typ.Sequence[NDArray],  # len=d, elm_shape=(order+1,)+W+K+C+(rRi,)
        tau_jets:       typ.Sequence[NDArray],  # len=d, elm_shape=(order+1,)+W+K+C+(rL(i+1),)
) -> typ.Tuple[NDArray, ...]:                   # deta_jets. len=d, elm_shape=(order+1,)+W+K+C+(nDi,)

Tangent combine at each free mode (order-scan convolution; the jet-ified Algorithm-7 deta combine).

The three-term tangent analog of compute_eta_jets(): deta_i = sigma R nu + mu H nu + mu L tau, three FULL convolutions (mode i free). Formed at once, the spatial product is (order+1)*W*K*r^2; this scans the left jets’ input order r (one order slice of jetL . core live at a time) against the carried, shifted right jets sh^r nu / sh^r tau – peak W*K*r^2. The K tangent stack sits on a different operand in each term (sigma / H / tau), so several of the grouped contractions need len_C (the W|C split is not pinned by their operands). Memory win needs the uniform path (real lax.map/lax.scan); see compute_eta_jets().

Parameters:
  • var_tt_cores (t3toolbox.backend.common.typ.Sequence[NDArray])

  • left_tt_cores (t3toolbox.backend.common.typ.Sequence[NDArray])

  • right_tt_cores (t3toolbox.backend.common.typ.Sequence[NDArray])

  • mu_jets (t3toolbox.backend.common.typ.Sequence[NDArray])

  • nu_jets (t3toolbox.backend.common.typ.Sequence[NDArray])

  • sigma_jets (t3toolbox.backend.common.typ.Sequence[NDArray])

  • tau_jets (t3toolbox.backend.common.typ.Sequence[NDArray])

Return type:

t3toolbox.backend.common.typ.Tuple[NDArray, …]