Julien, your program is perfect, but I prefer to use PhyPhox for measuring and to treat saved data using Python.
I attach measured angle..
Angle_centre_long90timeS.pdf (Size: 29.08 KB / Downloads: 554)
I attach measured angle..
Angle_centre_long90timeS.pdf (Size: 29.08 KB / Downloads: 554)