mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-26 17:49:09 +00:00
superscript.py - v 1.0.4.000
changelog: - actually pushes to firebase
This commit is contained in:
parent
8d92716ef2
commit
a8f3598bbe
@ -1,5 +1,5 @@
|
||||
7.7789790785753645,0.49574535250352625,9.455585915161464,8.455283647726041,5.750100573022811,-3.5604415754871077,-7.587580482160819,-3.1296036566659495,1.5563291034055666,-5.52517334301087,6.684736839372839,-3.247847541951705,6.934735508744076,-3.093703576842019,6.571955654290775,4.629321975398412,-3.5100903201677713,2.28682244627686,-0.10599232413403925,-1.5443737521958738,9.636984461652016,-7.165428632473095,-4.6802497205538485,4.450588828071961,-5.321643046387292,-4.167013539450595,-6.253336955617788,-9.585358365757312,-1.3107661936064918,-1.6163399971574464,6.419929861906823,7.39756323916118,6.1299014694012826,5.177359254594638,-1.025112157770673,-6.898696504279478,-1.827062119647234,1.9972125931126623,-6.520757027655137,-0.7332869331881327,4.643643335393172,-6.53107001204666,1.6910169918959195,4.089110474239558,4.324413081046938,2.8683035504992116,9.55242245265963,-8.546558977340954,-9.678657002677994,-7.955262654178026,-7.412943682479087,6.870267134910474,-0.5677127659146564,0.5071268566235076,7.654448942551092,-3.623977275036152,-0.3680651947092102,5.8327091128672155,0.2643050353258243,1.224823000101921,3.115558093539505,-1.7395276263374537,-4.7466337194728485,7.590129133556005,3.992718591395647,8.43167241741073,-2.3403988198613224,-6.283115314598087,-4.092158492160669,0.03805744674617806,-8.666089915810902,7.147912058844682,1.066987518571338,0.7412750800412269,-3.6656738891809804,-5.205927289794854,-2.0000529913641714,-0.21161924964136603,-2.871702551566811,9.379198068208748,-5.858338142637518,-4.030557633707015,-8.304759132381317,-1.3312350851279913,3.04425497450174,8.952717774061867,5.309383141298358,-9.190265665370994,3.7677824661396553,5.474872383524001,4.982572020459141,8.126836164972143,-7.3607464960851,-4.824887066093668,-2.3858311474865213,-2.891422525539995,6.835989223570142,-7.939823090331107,2.2215076561053966,-9.472000866066088
|
||||
-4.602890937925633,-0.11699040941699224,2.7475898481253225,-4.38510188364583,0.6169223494383917,-0.7349192347231952,-3.311630032696704,-4.332536202745811,4.381245267099105,3.1465319210767717,3.090063826030258,-6.323032810621736,2.6641569148980366,7.192044526680846,5.104334457052458,3.8478545163341433,8.93969536347672,6.896360311823333,-0.4251234842343443,6.305928672545825,-6.388803683869362,2.3807518031459765,-6.47748283022138,2.6229227221135165,-5.949539609428518,-3.9795109519490097,-3.5714254691208662,-8.979726012893838,4.966614178022509,7.432332732673174,-8.86641701237278,9.874777045770806,-7.631436645916789,-0.5219958604028907,-8.887912933285453,-4.8413053791993255,6.165023808272647,8.870212476302072,-5.924918266342933,6.340935803393254,6.975029715208677,8.091841800514306,-3.9883332132211535,-5.566028948682038,8.998100110030432,9.714124835823633,-4.065661318984861,-5.371249512345497,9.022521637082772,5.411580891287171,5.693207580754356,4.119318621011267,-0.6434197287295511,-4.607282618129458,8.243575398425932,8.72079743033142,9.076167535097714,3.5013644166448863,-7.799298604210878,9.868770428563462,-7.546051616244309,9.147065975198355,-9.922812077389336,-1.6400897713801577,-9.639173655325886,8.253866974388846,-0.16926589561134264,2.2753227777338108,4.91293800108542,3.911282568361191,-9.854410810431736,-9.451266666412465,-8.931624990699671,8.845347240150257,6.564417419579428,8.386375175561842,-9.450284617587165,6.9030404674751225,-9.13553365041103,-0.41816761626862053,-0.26917028918821906,-2.7343129011120677,4.117935469471041,-1.219590095838683,-8.038082253854327,7.959416266078893,-1.8312267715042108,-3.890414002222686,8.791877738031005,-0.49891787607667837,-7.483863085579152,-1.5235179767243405,1.4597364357536797,9.509662565535521,-3.1328400682239588,4.225623082680475,-1.5665686027604568,4.008888140046384,9.783334535754427,1.942251700373319
|
||||
-4.451368298908893,-2.3516438162647235,5.677428243590059,-4.869244349485468,5.863163987325976,-2.8057822350482393,-1.4803128020524898,4.823620332770947,8.354831215034629,8.95012320046932,-5.89463371471719,4.905050693220618,-7.878270052137912,-0.012554208524118593,4.152189121949812,-1.5623802606305013,6.457289172196365,-6.235859158138446,-3.1412530944599144,-0.9660525803785269,-2.5568214167943903,-9.788739017891368,1.4022474738692665,-2.765113180381409,4.413432277672358,-3.5896850224170134,3.275518713800288,8.56970207014341,-7.029174720771191,4.016266319806389,-6.070091345850321,9.963126833851273,7.354089382198666,8.618233027107863,-8.894592068958804,-4.8636596055892545,-6.848973088360337,-5.4188689905453185,0.743146392026798,3.3294874531008958,-3.7008862844419728,6.70735113786181,7.61936449936027,-1.6958829759150582,5.282803403125371,-6.204132709900058,-8.54797349317538,-5.498751309329702,-8.926474803580133,-2.653085124218757,-2.924607868423161,2.243307440750854,6.216764244401908,-5.705032890432655,9.144481844361046,-0.37139377978429167,-5.079220748954054,-6.383682299240974,-0.4348393773428789,-2.888525096127914,6.9724985297896716,6.050459354109808,0.6239978700122357,6.4411826162162775,2.939527573713603,7.2426761745909936,-9.948618150195731,5.960858336619985,9.524115666079716,-7.335927184435375,1.7201786553561504,-8.472176434073255,5.559800536617834,1.6476002705218118,-7.7946209936158795,2.5056298914622293,1.9083582897934228,-1.985022460169649,-6.172166284013743,-3.0982197062017764,6.74068199109913,-6.527178293175866,-5.281676919439066,4.136797272395807,0.7530050749069694,9.301904711252941,-4.47407207226834,3.902460028064267,4.531165591391684,-4.299998056096288,-0.47306016589305067,1.091461567741998,8.282807246257708,-0.3088000803192905,6.244141548912175,-7.766778908707012,9.189348589669414,3.151807562817499,-0.4528397950723111,2.863489396020684
|
||||
-5.074035497652631,6.562293724135738,1.6403556979487384,6.72589600996989,-8.667498296099303,7.3460487215440615,6.012279408537417,1.8921861434145981,0.2738501315643518,9.323220404615395,-7.0204545107758465,-6.736930360116471,-6.8889227813868015,-6.354581445675662,-7.525599514885155,-0.353078018101435,-7.289947743777947,-9.77879511965519,1.2936561271122358,8.905657407985995,-3.6030994862995698,8.657653279650923,7.135247391453923,5.344819205653266,-4.505854393699698,-8.22398254642155,-4.957937348225368,5.736687868763976,-1.4323785713539472,4.64583101104385,-5.413149784534177,-2.0964111120024214,7.941996912240011,9.762873047516791,3.022584095132963,-0.32023209536676944,2.0938057223385247,9.813409351905413,2.454491527616554,-8.134841132942555,4.897787519624394,3.3019089655034417,5.004856637780303,-7.364290018406551,6.815460529675889,0.9443400754503539,-1.04028165352468,-7.494284214067017,6.667336822971347,-4.2023852481657675,0.336999667532897,-6.381463959527132,6.004957150890327,4.904816562949065,8.91944761527682,7.899103001367724,8.112880073023188,-8.492808539186134,2.0196967015449747,-3.1150143238556733,3.808592005536129,9.278505022334322,-1.8355156284224794,-0.514475269963544,3.503421692491573,-8.838858654580793,-1.5763639687924798,7.659088826896159,5.152151805364602,5.206416632154955,9.353764847574254,1.0069158948517547,-1.7369254411451625,-7.009770289065069,-6.929553824191032,-9.64407624553571,2.693220164352123,-7.493402525059563,7.4447473234121055,-5.202102250067949,4.178248150335467,-9.635310305591332,7.0299459505227375,6.289915420973593,-0.7747052607545335,-3.9321215862360432,-4.509099168179778,2.817065438183551,-3.5649395821601626,-9.100918813096273,2.3231540039336025,5.463044843209024,1.3200590398448142,-6.208709196651869,3.8873895648195926,2.9110704973536965,-0.6150236162713902,3.7038172443716846,-1.4448681729303559,2.3664828603573795
|
||||
-2.5637064491094836,-6.909623342002744,7.296285573848099,0.8075208151250042,2.1888274238708547,2.952787368665293,-2.5707399346360464,-5.6001565170212775,2.061612145983398,-6.324591925266807,-4.444146305494279,7.964943827129506,7.307912525867064,-0.6439751990876079,-0.24978591765264824,-6.473448039932082,-6.300785187625029,-0.9319573769713418,6.277331971743468,-8.249883255978904,6.561169693058755,6.011630220028451,-6.215520932354604,4.096287945570637,-8.646137140682189,0.9415571331795434,-2.078307422476109,2.573890347944552,2.429525951862523,-7.895587193615333,1.6392035671025607,7.157000111731907,-9.032180250785418,-6.410006297300644,5.153055903073378,-4.914753020594633,7.957807333342547,7.203726010779267,1.6006848107613862,-1.7634928761164907,1.9697885440828404,-2.5885994198063766,-8.546282225007465,9.644498693210437,-3.7863230100288785,6.799353625673813,-4.7967347563444545,-1.2847126565175913,-6.622668009200381,7.918268042597031,6.621149853846362,7.347368388839591,9.397866828072086,-4.2940192286339744,-7.546755920275685,3.816464135658764,-3.7082034549746368,-8.292141732791055,5.6416049398580945,2.376026000246709,6.026570463002628,0.9190106182967224,-8.713121672476206,-8.421660588534612,-0.5013126726611219,-7.600683552273253,-9.521636763438257,7.459956925458762,-6.272623327635207,6.25731696732959,-4.9390622448034645,7.10851865271983,-1.4640420871079343,-3.75158785709917,-7.661611593798325,-9.566252014375603,-2.757236208238549,-4.196819167199239,-5.738533611734664,-5.649436741373794,0.33615626951186783,-0.4589378070959391,6.20753492089807,3.0012777412190452,-0.19406836839838526,-8.694602213575573,1.443960449099544,3.714269564327699,9.728352584972754,1.789020606186396,-6.6807294835316,6.683155220595058,-7.676125513965955,2.435617437331283,4.997373815835841,-3.378003609984976,-3.3287715676650054,-5.5332738493215095,-2.411868471757696,-1.9220096367468926
|
||||
-4.9249668189769995,-2.352811503488086,6.112647665258532,0.33496472578524106,0.20521681743994868,8.992532238575293,7.458273188238607,-8.432626054850502,5.372451223330504,8.133479642509677,9.613643551236748,-6.28607348259123,5.1229960559135925,1.1490144224910637,5.725583739510011,4.251502494617657,8.8991784475948,-8.004384747173637,-5.392871068769239,9.719275562391342,9.068094344693883,-8.05257009558867,1.6106217487913295,-0.22721855930308266,4.4689234841090375,4.296787587754832,4.4833305993165435,6.832477770446523,-0.9317753609118302,6.854927783035741,9.239698695908071,-6.766629254056086,-0.8247611745479411,0.8546100433211521,-9.790723876655765,-1.7654513276654988,-0.3087277207234891,-8.015731224952209,-5.448218287856572,1.7895130906871088,-3.0986113942066495,7.628320682084684,9.824039172670325,3.458089474036468,8.060706493837387,0.44841594941993534,3.6499557554286284,-5.891357611691451,-1.3154398694118274,3.5743814680902872,-7.789706444400268,4.172473876055996,4.416283696293899,9.425554825035913,0.28143212907267845,7.062946911216393,2.8479505888635437,-3.528077533110949,4.83454622455686,-7.954611726147571,-9.887540739045274,-6.649397799285721,-4.247426629845441,4.26297716163614,-0.5089932876430243,-0.9384679664276714,-9.563759542999533,3.4234643950176533,-8.139424123415166,-6.844676934909173,-7.7239579990567115,8.423359498722803,4.652863140015189,-7.6030386045826575,-8.092808468928318,-6.8664615781376925,-7.111505064629298,-1.8143906468595699,-9.31721764956907,5.4159592399097,-0.2195843514933582,-2.4965009818539112,4.128600146559155,-2.4875600640665745,-7.2949908650381,4.887589625425823,-4.9190075902245205,1.8538248779542243,-6.540399933776451,-5.849697307943355,0.3270664867084463,-3.359049176069142,-2.7654379163281657,3.5925915728273345,3.9343684739511637,-1.4765454329985257,1.0389309062618057,0.47916876898467464,2.919986033639086,-6.349049514611398
|
||||
-4.6870954909314655,9.960065962499975,5.9122684944905295,-5.695304051638073,5.254325301049336,-5.215259389015749,-2.6345521758058315,-5.737224569312072,-5.484379065547829,-9.249272820655925,2.484677017734329,9.048350151248233,5.55996569219978,2.345383840602956,-0.6534625208059257,-7.383126548052175,-5.329066286794819,0.1336957159106582,-4.229190593046683,-0.15974415114943596,6.267182352092313,-9.76724396491003,9.18025061352418,-2.482394457695209,-0.7094974045311311,4.705125896491527,2.8092569404536576,0.23952538156108716,6.371599100835752,7.787627752074613,-3.038965249468262,-5.230464044169234,-1.8997558790444717,4.034201333716521,-2.518487462352514,-6.927042405566299,2.6785180421485535,-2.587260072160749,-9.110059130651852,-4.322922893339108,8.432897494236933,-3.8901391233076925,-2.8298183844550966,1.928754661321399,2.719590844679276,-8.812658863823499,0.6961088399814148,1.8852161061105033,6.769102966018572,5.682844121009527,8.013036547650895,-8.1135250005979,5.085250356025684,-0.19412648951139033,-8.630954397339924,3.8316624378717616,-2.528086625415149,-0.7228162892177714,1.5622753075799896,9.148665961640347,1.1547059931096335,-8.296411734117646,-5.528108037246133,6.009716998966542,-5.690951033397087,-4.995711592904599,-7.7762826214190905,0.6487782103399802,8.828020157138276,0.5225986323162619,8.431282678429735,-6.12645474844564,-0.0004429193427419875,0.04978332821876563,-7.774275287365593,-6.947979741065855,-4.999655534007161,7.2497666307213,-2.9512970192716903,2.116442096867214,7.7713419667619235,1.9843088598705538,8.684486102016603,-4.0808439513713495,6.695265743136922,3.528034413199496,-3.4124279487970233,6.999254305283561,-7.57187421030145,-0.7947709521685464,-1.1446191881730279,0.0630751411099606,9.04634619345487,5.764435722869997,1.4804502683091378,-8.08249927190686,-6.461724684750294,9.346772458205816,-9.529057647708076,2.597496433905979
|
||||
-4.336504323000437,-7.226300533844892,-5.625521574444312,0.2790215191896088,-1.771248961896383,-4.239354085883162,8.722603223586681,7.034983578139265,-4.738770982739724,2.3474987256030015,-1.5286821232759387,3.716685978626167,-0.366576408089772,-7.204942051035516,0.7779810341596178,-7.296800342206451,-8.259193020253342,4.004171277527242,8.329575326270081,-0.12014119508343057,0.8767497676752267,-4.000714006092128,-4.656478530729656,-4.780792880533484,6.514182928800871,1.214362229146687,-0.3574767161695718,-0.41430786032810474,-1.6321267662541228,-6.058370187548407,-3.156742295480073,-4.526667876599659,-1.689370135894885,9.888798822370909,1.272213309843922,1.7155441263680515,-3.6203193271260226,1.835414980608638,2.5830050930342523,3.6596828313189427,-1.1984322170490085,5.746243472688693,6.758981735554169,6.160225034078945,5.517355177127239,1.9191217510570588,2.914224151202598,6.722180528019162,-3.9303525557162278,-4.661626483104142,-8.236189838216594,7.954602564106711,5.176856194678114,-0.5577079765543917,4.175342314110257,5.552840618695241,8.479835408304492,9.889293524424026,0.8460714340278326,-7.724731044256654,1.5176133286002589,-9.578070074866087,-7.489270624790758,5.298227147069497,-4.912415431395585,-4.404576024703967,-7.453894300315671,1.09968710966481,3.3202555176826127,8.276613940359052,7.637833151966355,-3.775669242713448,1.6881619795662992,-2.516843043135859,3.871453813836471,2.747326766037446,7.806801599503405,9.643281722897786,-4.995039858315707,-4.960373805784355,6.18077162398837,4.8126183903840705,-3.6349266166615006,5.8827893971273415,-6.486789262181977,1.8854552229681403,1.4242142253385577,-0.5255468109010426,-9.836167348627857,3.7903872112523267,5.422147123983411,-5.329336523071322,8.762052150643914,-1.4096868384938315,5.8174674898759235,0.5457732038131198,5.445721719225578,-7.962055846100555,-1.8212402304687725,-9.865194544046108
|
||||
-5.8468894367452044,-5.817889646416845,-6.5836201578218905,-1.201555263846899,-1.4828382517480048,-3.8152101509635123,7.798303680696538,-8.59750280351106,-7.680882862961386,-4.229133747560803,8.172982800508343,-8.710877844668003,-7.1018871388343685,-8.421030176694487,-9.811116430398549,2.4751608142389436,-7.227581210521428,7.422328389364363,-2.092130083518149,5.468062844011492,5.977057523328426,-7.95462343085978,4.425878508487951,5.970563419997589,-1.776809786297715,-2.2684698408750297,-4.6515394258825316,-5.154275163093278,8.302699219039049,-7.2250504824047095,-1.5643265473399062,-5.298020253647044,-0.5233369255301401,1.5914732069917008,7.126325211127014,6.255638441435742,-1.369262588265217,-1.5783873223121532,-2.208247104259595,-0.708625300773086,-9.542956037155887,1.2562919631909182,2.300978853236975,-4.086041001500023,3.0740223286478745,8.43645637170496,-1.0398560771043215,-7.627547458901489,0.9005628469605078,7.6279207742622575,-2.0110241530446142,6.053193899922686,2.3966301298102817,5.892633072467737,2.8410633890462496,1.0446659127515439,-2.7519344202486913,-6.692856743506368,0.9162099695605086,-8.903228534166896,7.578275188107192,-1.8452727861094935,-1.6742046795863512,3.262387343013664,6.459238060181416,-9.828162003460054,-6.450839077750878,-8.188575885096764,9.413344833613657,1.00580923980662,6.6647023306010595,-5.921508869926364,-6.003021011814069,6.699763876229486,1.3690635575652372,1.5530021338939175,3.0866187195665766,-6.508397475019958,-3.77826019671261,6.8601472289073655,-7.164024151588664,-5.864210561367697,-8.68258806786833,1.8471145702530656,-9.28317658061636,-0.9236958209628163,3.7313259642596677,2.161049222685259,-6.94180906999132,-2.055818032325048,-9.09186520524633,-0.33512011823171584,-6.562075987660753,3.3795624694671904,-8.405533823742726,0.7992557981457509,-4.835215668553639,-1.6867898121384641,-9.775858804374087,5.554035396617223
|
||||
-4.346852472333611,-3.9560144955419947,-3.030402464115669,-0.5032176406215516,9.3373737307796,6.969395227535625,-0.5424450748445047,-9.157635472529783,-2.7137698573612434,-2.0081018638346233,0.32030824274506386,-7.18058640634127,-9.788390108006906,-4.056489069935385,7.618165586960519,-8.98307474621895,9.207650887454712,2.628063999154346,9.275646577100524,-0.8504547720541122,-8.853175396307202,-8.1311129600357,-4.726905726461757,1.738610002652063,8.300191833548837,-7.582309228086748,7.160197251658854,2.406442451718778,5.458316493976502,-1.3817748542074622,-4.47693659542929,8.323778383677684,9.723408438034532,6.515180529273557,-2.9867331565936706,-6.239117591234531,9.808777792684783,8.902483128378709,9.438913687973798,-4.5919139189649005,9.63184762855828,-8.1580660405605,4.011363326764458,-8.882509651063387,6.6886978082143465,-4.543498843579787,-7.755986275261952,-5.940376513473136,6.966348435788802,-4.61842429119965,7.543098644343679,-9.191371612539962,-4.235693500676914,8.350607732539416,-3.958098160098709,-1.31744088712572,8.094528487665531,1.7617368349055305,9.264995848780888,7.110159455297605,-7.401189653523826,-3.1378930893336543,4.97445922067576,-6.707385880148444,0.8929538592354742,-8.232404736770551,1.344709826904161,0.21275781231756952,-7.713995436484544,-7.321017025352782,1.4558613873382402,-7.880394944684436,-5.569506140069469,-1.7178927144080873,3.1409190803215132,0.9256659024388103,7.732010484903217,2.963471997973139,6.467778914718583,-0.7164335795083616,0.6112569816580304,-1.560721218328343,4.812468622398626,-7.257513326792793,3.839589028056656,-1.3264077043781448,9.59739157433554,-1.2887459003528452,-3.9184028261487818,1.3862924079569723,9.27395199603004,-4.07325763346702,-8.715285499717842,-1.406528786151819,-7.015398051647459,-9.620626606471689,-2.7352559170456754,-9.314768274820342,3.152920662194754,-5.040738566385377
|
||||
|
|
@ -3,9 +3,11 @@
|
||||
#Notes:
|
||||
#setup:
|
||||
|
||||
__version__ = "1.0.3.000"
|
||||
__version__ = "1.0.4.000"
|
||||
|
||||
__changelog__ = """changelog:
|
||||
1.0.4.000:
|
||||
- actually pushes to firebase
|
||||
1.0.3.001:
|
||||
- processes data more efficiently
|
||||
1.0.3.000:
|
||||
@ -36,7 +38,7 @@ import glob
|
||||
import numpy as np
|
||||
|
||||
# Use a service account
|
||||
cred = credentials.Certificate('keys/titanscoutandroid_firebase.json')
|
||||
cred = credentials.Certificate('keys/firebasekey.json')
|
||||
firebase_admin.initialize_app(cred)
|
||||
|
||||
db = firestore.client()
|
||||
@ -109,6 +111,8 @@ for measure in data: #unpacks 3d array into 2ds
|
||||
json_out = {}
|
||||
|
||||
for i in range(len(stats)):
|
||||
json_out[files[i]]=stats[i]
|
||||
json_out[files[i]]=str(stats[i])
|
||||
|
||||
print(json_out)
|
||||
|
||||
db.collection(u'stats').document(u'stats-noNN').set(json_out)
|
||||
|
Loading…
Reference in New Issue
Block a user