Simulated optics experiment/Data analysis: Difference between revisions

Content added Content deleted
m (→‎{{header|Julia}}: fix formula)
(→‎{{header|ObjectIcon}}: Fixed a bug in how things are printed, and manually adjusted the example to look like it should.)
Line 340: Line 340:
# The u"" is necessary in Object Icon when the string is a Unicode
# The u"" is necessary in Object Icon when the string is a Unicode
# string.
# string.
printf (u" %2.0r° %2.0r° %+9.6r\n",
printf (u" %3.1r° %3.1r° %+9.6r\n",
angleL1, angleR1, kappaL1R1)
angleL1, angleR1, kappaL1R1)
printf (u" %2.0r° %2.0r° %+9.6r\n",
printf (u" %3.1r° %3.1r° %+9.6r\n",
angleL1, angleR2, kappaL1R2)
angleL1, angleR2, kappaL1R2)
printf (u" %2.0r° %2.0r° %+9.6r\n",
printf (u" %3.1r° %3.1r° %+9.6r\n",
angleL2, angleR1, kappaL2R1)
angleL2, angleR1, kappaL2R1)
printf (u" %2.0r° %2.0r° %+9.6r\n",
printf (u" %3.1r° %3.1r° %+9.6r\n",
angleL2, angleR2, kappaL2R2)
angleL2, angleR2, kappaL2R2)


Line 661: Line 661:


correlation coefs
correlation coefs
23° -0.699476
0.22.5° -0.699476
68° +0.714172
0.67.5° +0.714172
45° 23° +0.692368
45.0° 22.5° +0.692368
45° 68° +0.711478
45.0° 67.5° +0.711478


CHSH contrast +2.817493
CHSH contrast +2.817493