Lambda étalonnage

N = 2047
xpixel = 1847.2 (slider from 0 to N, step 0.1)
dpixel: x = xpixel
P_0 = (0, 0)
P_N: (N, 0)
ypixel = 589 (slider from 0 to N, step 1)
d_h: y = ypixel
xetal = 1399 (slider from 0 to N, step 1)
yetal = 649.7 (slider from 0 to N, step 1)
getal = 1.384 (slider from 0.1 to 10, step 0.01)
a = true
A1 = 391.9
B1 = 5037.751
A2 = 427.9
B2 = 5080.383
A3 = 514.6
B3 = 5193.17
A4 = 631.56
B4 = 5330.777
B5 = 5341.094
A5 = 640.8
A6 = 688.4
B6 = 5400.562
B7 = 5562.766
A7 = 819.9
A8 = 897.2
B8 = 5656.659
B9 = 5689.816
A9 = 924.3
A10 = 948.1
B10 = 5719.225
B11 = 5748.298
A11 = 972.5
A12 = 1058.3
B12 = 5852.488
B13 = 5881.895
A13 = 1081.6
A14 = 1133.6
B14 = 5944.834
B15 = 6029.997
A15 = 1202.7
A16 = 1238.6
B16 = 6074.338
B17 = 6096.163
A17 = 1256.8
A18 = 1295.3
B18 = 6143.063
A19 = 1312
B19 = 6163.594
B20 = 6217.281
A20 = 1355.8
A21 = 1396
B21 = 6266.495
A22 = 1427.3
B22 = 6304.789
B23 = 6334.428
A23 = 1451.9
A24 = 1491.6
B24 = 6382.991
B25 = 6402.248
A25 = 1507.2
A26 = 1592.8
B26 = 6506.528
B27 = 6532.882
A27 = 1614.1
A28 = 1668.3
B28 = 6598.953
B29 = 6678.277
B30 = 6717.043
A29 = 1733
A30 = 1764.5
A31 = 1938.9
B31 = 6929.467
B32 = 7032.413
A32 = 2023.3
c_0 = 4271.99525
c_1 = 1.22421
λ: (c_1 * xpixel) + c_0
E_1: (xetal - (getal * N / 2), yetal)
E_2: (xetal + (getal * N / 2), yetal)
texte1: "Lambda : " + λ + " A"
C1 = 625.6
C2 = 660.8
D1 = 5037.751
D2 = 5080.383
C3 = 873.760000000001
D3 = 5341.094
D4 = 5400.562
C4 = 921.300000000001
D5 = 5656.659
C5 = 1130.89
D6 = 5748.298
C6 = 1205.39
D7 = 5881.895
C7 = 1314.89
D8 = 6029.997
C8 = 1435.8
D9 = 6217.281
C9 = 1589.1
D10 = 6304.789
C10 = 1660.8
D11 = 6532.882
C11 = 1847.1
ResidualPlot({(625.6, 5037.751), (660.8, 5080.383), (873.760000000001, 5341.094), (921.300000000001, 5400.562), (1130.89, 5656.659), (1205.39, 5748.298), (1314.89, 5881.895), (1435.8, 6029.997), (1589.1, 6217.281), (1660.8, 6304.789), (1847.1, 6532.882)}, FitLineY[{(625.6, 5037.751), (660.8, 5080.383), (873.760000000001, 5341.094), (921.300000000001, 5400.562), (1130.89, 5656.659), (1205.39, 5748.298), (1314.89, 5881.895), (1435.8, 6029.997), (1589.1, 6217.281), (1660.8, 6304.789), (1847.1, 6532.882)}])