ScalarOutputKind#

class t3toolbox.backend.fitting.ScalarOutputKind#

Bases: SamplingKind

Kinds whose output is a scalar per measurement (apply / entries): every mode is contracted, so there is no mode axis and a per-mode weight is a structural error.

has_block_sumsq = True#

Methods#

sumsq(out, n_w)

|out|^2 over W (and the order / free-mode axes), keeping the frame stack C.

block_sumsq(out, n_w)

Per-(mode, order) |.|^2 -> a 2-D matrix; UNWEIGHTED (the honest diagnostic table).