Simulated optics experiment/Data analysis: Difference between revisions

Content added Content deleted
(→‎Task description: Typo in formula for contrast.)
(→‎{{header|Wren}}: Updated in line with Python bug fix.)
Line 1,099: Line 1,099:
var kappaL2R2 = computeCorrelationCoefficient.call(anglesL[1], anglesR[1], dataL2R2)
var kappaL2R2 = computeCorrelationCoefficient.call(anglesL[1], anglesR[1], dataL2R2)


var chshContrast = -kappaL1R1 + kappaL1R2 + kappaL2R2 + kappaL2R2
var chshContrast = -kappaL1R1 + kappaL1R2 + kappaL2R1 + kappaL2R2


// The nominal value of the CHSH contrast for the chosen polarizer
// The nominal value of the CHSH contrast for the chosen polarizer
Line 1,136: Line 1,136:
45° 67° +0.710296
45° 67° +0.710296


CHSH contrast +2.825766
CHSH contrast +2.811781
2*sqrt(2) = nominal +2.828427
2*sqrt(2) = nominal +2.828427
difference -0.002661
difference -0.016646


CHSH violation +0.825766
CHSH violation +0.811781
</pre>
</pre>