spyrit.core.meas.HadamSplit.build_H_pinv

HadamSplit.build_H_pinv()[source]

Build the pseudo-inverse (inverse) of the Hadamard matrix H.

This computes the pseudo-inverse of the Hadamard matrix H, and stores it in the attribute H_pinv. In the case of an invertible matrix, the pseudo-inverse is the inverse.

Args:

None.

Returns:

None. The pseudo-inverse is stored in the attribute H_pinv.