uniform_probe_derivatives_kind#

t3toolbox.backend.uniform_fitting.uniform_probe_derivatives_kind(x0_data, order, weight=None, chunk_size=100)#
def uniform_probe_derivatives_kind(
        x0_data:    typ.Tuple,
        order:      int,
        weight:     typ.Optional[typ.Sequence[float]] = None,
        chunk_size: typ.Optional[int] = 100,                 # W-chunk size for the 𝒥ᵀ assembly (docs/chunking.md)
) -> bfit.SamplingKind:                                  # sample = (ww, pp)

The uniform probe-derivatives SamplingKind – the twin of t3toolbox.backend.fitting.probe_derivatives_kind().

The forward / residual are the packed probe-derivative jets (d,)+(order+1,)+W+C+(N,) (order at axis 1, after the mode index d), so the per-order weight ω is built with order_axis=1 and sumsq / transpose are overridden to weight the correct axis (the inherited order-leading aw would broadcast ω over d).

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

  • order (int)

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

  • chunk_size (t3toolbox.backend.common.typ.Optional[int])

Return type:

SamplingKind