Simulated optics experiment/Data analysis: Difference between revisions
Content added Content deleted
(→{{header|Python}}: Fixed a bug that miscalculated the CHSH contrast.) |
|||
Line 411: | Line 411: | ||
dataL2R2) |
dataL2R2) |
||
chsh_contrast = -kappaL1R1 + kappaL1R2 + |
chsh_contrast = -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 454: | Line 454: | ||
45° 67° +0.718882 |
45° 67° +0.718882 |
||
CHSH contrast +2. |
CHSH contrast +2.844480 |
||
2*sqrt(2) = nominal +2.828427 |
2*sqrt(2) = nominal +2.828427 |
||
difference +0. |
difference +0.016053 |
||
CHSH violation +0. |
CHSH violation +0.844480 |
||
</pre> |
</pre> |