Open calgray opened 3 years ago
It is possible to validate that the calibration result is conformant with the mathematical model at the end of calibration. The following expressions can be converted into asserts or warnings at the end of PhaseRotate()
V == AG therefore G == AdV V-A*G ~= 0
e.g.
auto G = cal.back(); double PRECISION = 0.000001; assert(isApprox(V-(ToMatrix(metadata.A) * ToMatrix(G)), 0, PRECISION));
It is possible to validate that the calibration result is conformant with the mathematical model at the end of calibration. The following expressions can be converted into asserts or warnings at the end of PhaseRotate()
V == AG therefore G == AdV V-A*G ~= 0