from __future__ import division
import numpy as np

box_33_one_0 = [0.42334902832469923, 0.2468998750747229, -0.1764491532499763]
box_33_two_0 = [0.3039763695648542, 0.03089364740653604, -0.27308272215831814]

box_33_one_1 = [0.42834293469636514, 0.23620238381611142, -0.1921405508802537]
box_33_two_1 = [0.31721296893596856, 0.01841794513694883, -0.29879502379901973]

box_33_one_2 = [0.41734629777144355, 0.24389850979809505, -0.1734477879733485]
box_33_two_2 = [0.30463497282469093, 0.02687325813762006, -0.2777617146870709]

box_33_one_3 = [0.4157303221337457, 0.23755935160135197, -0.17817097053239375]
box_33_two_3 = [0.315069386497103, 0.018220985839915126, -0.2968484006571878]

box_33_one_4 = [0.41479054138620486, 0.24220667684477573, -0.17258386454142907]
box_33_two_4 = [0.3238334202738607, 0.023947626604859166, -0.29988579366900153]

box_33_one_5 = [0.4204155760923887, 0.23932203784745643, -0.18109353824493218]
box_33_two_5 = [0.3362667521819121, 0.022525403669996023, -0.3137413485119161]

box_33_one_6 = [0.4299485985141031, 0.2318907578784283, -0.19805784063567475]
box_33_two_6 = [0.3609584714469804, 0.01931570774697465, -0.3416427637000058]

box_33_one_7 = [0.4296155474063411, 0.24822757905998824, -0.1813879683463529]
box_33_two_7 = [0.34800428307827586, 0.030919141818704945, -0.3170851412595709]

box_33_one_8 = [0.43490396991749447, 0.244621790315565, -0.1902821796019295]
box_33_two_8 = [0.3353120431934595, 0.019825826953547468, -0.315486216239912]

box_33_one_9 = [0.4345591196922471, 0.24403269853627466, -0.19052642115597243]
box_33_two_9 = [0.33924676467225234, 0.017765409915166112, -0.3214813547570862]


box_44_one_0 = [0.37790576163117956, 0.025370270287268334, -0.3525354913439112]
box_44_two_0 = [0.370597835070569, 0.0035218625625185853, -0.3670759725080503]

box_44_one_1 = [0.387774915436336, 0.043638180523179936, -0.34413673491315605]
box_44_two_1 = [0.3705371741616803, 0.014946839899333526, -0.35559033426234676]

box_44_one_2 = [0.3952461125413309, 0.01473489018678846, -0.3805112223545425]
box_44_two_2 = [0.41326974538279865, 0.003482273723002284, -0.40978747165979634]

box_44_one_3 = [0.38345340605398043, 0.02578298138755767, -0.3576704246664228]
box_44_two_3 = [0.4017276210099082, 0.010350069481762711, -0.39137755152814546]

box_44_one_4 = [0.3892900447661558, 0.009117967410312034, -0.3801720773558438]
box_44_two_4 = [0.3940577033938336, 0.0016747640049355262, -0.39238293938889807]

box_44_one_5 = [0.38094118589328824, 0.007999093529433883, -0.37294209236385434]
box_44_two_5 = [0.42339836851992757, 0.0021598129242500364, -0.4212385555956776]

box_44_one_6 = [0.41475861329024855, 0.024923245738869712, -0.3898353675513788]
box_44_two_6 = [0.43595594376199115, 0.0029017299147400797, -0.433054213847251]

box_44_one_7 = [0.4331504672910788, 0.032714845339440156, -0.4004356219516386]
box_44_two_7 = [0.4165480139891092, 0.002746952021788631, -0.4138010619673205]

box_44_one_8 = [0.34115842782516287, 0.011857714495371112, -0.3293007133297918]
box_44_two_8 = [0.3592266428896058, 0.0099195998053704, -0.34930704308423544]

box_44_one_9 = [0.3429619866054874, 0.011509493885533356, -0.33145249271995403]
box_44_two_9 = [0.3710657379742907, 0.004880732995655349, -0.3661850049786354]


box_66_one_0 = [1.8499282039969678, 1.738877436764595, -0.11105076723237282]
box_66_two_0 = [1.1372824687880427, 0.12713842132807465, -1.010144047459968]

box_66_one_1 = [1.8455690790688184, 1.7441978754700718, -0.10137120359874634]
box_66_two_1 = [1.115673146983155, 0.13955308139756756, -0.9761200655855873]

box_66_one_2 = [1.7801806073338051, 1.6602770328154464, -0.11990357451835876]
box_66_two_2 = [1.2061001448435371, 0.11365555412250375, -1.0924445907210336]

box_66_one_3 = [1.7729437294286494, 1.6741585938567647, -0.09878513557188477]
box_66_two_3 = [1.1655805396637169, 0.1261735125127525, -1.0394070271509643]

box_66_one_4 = [1.767026135250506, 1.653251953573347, -0.1137741816771592]
box_66_two_4 = [1.1851742667627672, 0.10177046377392161, -1.0834038029888455]

box_66_one_5 = [1.7689281431468247, 1.6368418464103949, -0.1320862967364298]
box_66_two_5 = [1.1970312032751085, 0.09814908314686534, -1.0988821201282433]

box_66_one_6 = [1.7950259597380978, 1.6861407547060316, -0.10888520503206635]
box_66_two_6 = [1.2445638914425612, 0.143973636193885, -1.1005902552486762]

box_66_one_7 = [1.8146200492043945, 1.7138544661058461, -0.10076558309854812]
box_66_two_7 = [1.1795759744054433, 0.13480465092859298, -1.04477132347685]

box_66_one_8 = [1.816699210688674, 1.7116996024035418, -0.10499960828513216]
box_66_two_8 = [1.1700285016482548, 0.1525309145499988, -1.0174975870982559]

box_66_one_9 = [1.928828208614011, 1.793180768032877, -0.13564744058113398]
box_66_two_9 = [1.1686193121362103, 0.14043743090508778, -1.0281818812311225]

box_33_one_0 = np.array(box_33_one_0); box_44_one_0 = np.array(box_44_one_0); box_66_one_0 = np.array(box_66_one_0);
box_33_two_0 = np.array(box_33_two_0); box_44_two_0 = np.array(box_44_two_0); box_66_two_0 = np.array(box_66_two_0);
box_33_one_1 = np.array(box_33_one_1); box_44_one_1 = np.array(box_44_one_1); box_66_one_1 = np.array(box_66_one_1);
box_33_two_1 = np.array(box_33_two_1); box_44_two_1 = np.array(box_44_two_1); box_66_two_1 = np.array(box_66_two_1);
box_33_one_2 = np.array(box_33_one_2); box_44_one_2 = np.array(box_44_one_2); box_66_one_2 = np.array(box_66_one_2);
box_33_two_2 = np.array(box_33_two_2); box_44_two_2 = np.array(box_44_two_2); box_66_two_2 = np.array(box_66_two_2);
box_33_one_3 = np.array(box_33_one_3); box_44_one_3 = np.array(box_44_one_3); box_66_one_3 = np.array(box_66_one_3);
box_33_two_3 = np.array(box_33_two_3); box_44_two_3 = np.array(box_44_two_3); box_66_two_3 = np.array(box_66_two_3);
box_33_one_4 = np.array(box_33_one_4); box_44_one_4 = np.array(box_44_one_4); box_66_one_4 = np.array(box_66_one_4);
box_33_two_4 = np.array(box_33_two_4); box_44_two_4 = np.array(box_44_two_4); box_66_two_4 = np.array(box_66_two_4);
box_33_one_5 = np.array(box_33_one_5); box_44_one_5 = np.array(box_44_one_5); box_66_one_5 = np.array(box_66_one_5);
box_33_two_5 = np.array(box_33_two_5); box_44_two_5 = np.array(box_44_two_5); box_66_two_5 = np.array(box_66_two_5);
box_33_one_6 = np.array(box_33_one_6); box_44_one_6 = np.array(box_44_one_6); box_66_one_6 = np.array(box_66_one_6);
box_33_two_6 = np.array(box_33_two_6); box_44_two_6 = np.array(box_44_two_6); box_66_two_6 = np.array(box_66_two_6);
box_33_one_7 = np.array(box_33_one_7); box_44_one_7 = np.array(box_44_one_7); box_66_one_7 = np.array(box_66_one_7);
box_33_two_7 = np.array(box_33_two_7); box_44_two_7 = np.array(box_44_two_7); box_66_two_7 = np.array(box_66_two_7);
box_33_one_8 = np.array(box_33_one_8); box_44_one_8 = np.array(box_44_one_8); box_66_one_8 = np.array(box_66_one_8);
box_33_two_8 = np.array(box_33_two_8); box_44_two_8 = np.array(box_44_two_8); box_66_two_8 = np.array(box_66_two_8);
box_33_one_9 = np.array(box_33_one_9); box_44_one_9 = np.array(box_44_one_9); box_66_one_9 = np.array(box_66_one_9);
box_33_two_9 = np.array(box_33_two_9); box_44_two_9 = np.array(box_44_two_9); box_66_two_9 = np.array(box_66_two_9);

box_33_one_avg = np.array(box_33_one_0 + box_33_one_1 + box_33_one_2 + box_33_one_3 + box_33_one_4 + box_33_one_5 + box_33_one_6 + box_33_one_7 + box_33_one_8 + box_33_one_9) / 10.0
box_44_one_avg = np.array(box_44_one_0 + box_44_one_1 + box_44_one_2 + box_44_one_3 + box_44_one_4 + box_44_one_5 + box_44_one_6 + box_44_one_7 + box_44_one_8 + box_44_one_9) / 10.0
box_66_one_avg = np.array(box_66_one_0 + box_66_one_1 + box_66_one_2 + box_66_one_3 + box_66_one_4 + box_66_one_5 + box_66_one_6 + box_66_one_7 + box_66_one_8 + box_66_one_9) / 10.0

box_33_two_avg = np.array(box_33_two_0 + box_33_two_1 + box_33_two_2 + box_33_two_3 + box_33_two_4 + box_33_two_5 + box_33_two_6 + box_33_two_7 + box_33_two_8 + box_33_two_9) / 10.0
box_44_two_avg = np.array(box_44_two_0 + box_44_two_1 + box_44_two_2 + box_44_two_3 + box_44_two_4 + box_44_two_5 + box_44_two_6 + box_44_two_7 + box_44_two_8 + box_44_two_9) / 10.0
box_66_two_avg = np.array(box_66_two_0 + box_66_two_1 + box_66_two_2 + box_66_two_3 + box_66_two_4 + box_66_two_5 + box_66_two_6 + box_66_two_7 + box_66_two_8 + box_66_two_9) / 10.0

print "1 sensor, 33cm", box_33_one_avg
print "1 sensor, 44cm", box_44_one_avg  
print "1 sensor, 66cm", box_66_one_avg  

print "2 sensors, 33cm", box_33_two_avg
print "2 sensors, 44cm", box_44_two_avg  
print "2 sensors, 66cm", box_66_two_avg  

