SamplingKind#
- class t3toolbox.backend.fitting.SamplingKind#
Bases:
t3toolbox.backend.common.ValueHashedFieldsA sampling kind: the bare
J/J^Tfor one measurement operator, plus its reductions.The what you measure axis of a fit. Holds the kind-specific operations the geometry-generic Gauss-Newton model needs – the bare Jacobian and its transpose (no gauge
Pi: that is the geometry’s), the|.|^2reduction over the sample stack, and the point operationS(x)used to form the residual – plus the minimal layout the default minibatch draw needs.Built-in kinds:
APPLY,ENTRIES,PROBE(module singletons) and the parameterizedProbeKind,ApplyDerivativesKind,EntriesDerivativesKind,ProbeDerivativesKind. The uniform twins are int3toolbox.backend.uniform_fitting.Writing your own. Subclass and supply the five operation methods; you get value identity for free provided your parameters are dataclass fields (that is the point – a kind whose parameters hide in closures cannot be compared, and silently recompiles).
- name: t3toolbox.backend.common.typ.ClassVar[str] = 'sampling'#
- has_order: t3toolbox.backend.common.typ.ClassVar[bool] = False#
- has_block_sumsq: t3toolbox.backend.common.typ.ClassVar[bool] = False#
Methods#
|
The reusable frame sweep at |
|
The bare Jacobian |
|
The bare transpose |
|
The point operation |
|
Gather a flat |
|
The number of leading sample-stack ( |
|
The flat |
|
|
|
Per- |