mirror of
https://github.com/furrysalamander/rubedo.git
synced 2025-09-26 23:29:12 +08:00
30 lines
611 B
Python
30 lines
611 B
Python
import numpy as np
|
|
control = \
|
|
[186.56256372513926,
|
|
236.4280909963605,
|
|
194.8965990884127,
|
|
186.02849956667927,
|
|
201.05698347607975,
|
|
201.70169943918023,
|
|
195.83328724309604,
|
|
236.14796974386718,
|
|
224.61775628475698,
|
|
443.5180396174067
|
|
]
|
|
print("Average deviation of lines in control pattern")
|
|
print(np.average(control))
|
|
calibrated = \
|
|
[
|
|
35.745380947164946,
|
|
42.096965823872175,
|
|
45.43428879223724,
|
|
41.415640249952666,
|
|
52.08084270611824,
|
|
50.53732451711894,
|
|
44.22630732805901,
|
|
42.33189729658413,
|
|
52.967477038659496
|
|
]
|
|
print("Average deviation of lines in calibrated pattern")
|
|
print(np.average(calibrated))
|