From a6f4e24390e85a833025fc8b7adddc7ec9ddb340 Mon Sep 17 00:00:00 2001 From: ltcptgeneral <35508619+ltcptgeneral@users.noreply.github.com> Date: Thu, 20 Dec 2018 12:21:22 -0600 Subject: [PATCH] analysis.py - v 1.0.8.000 changelog: - depreciated histo_analysis_old - depreciated debug - altered basic_analysis to take array data instead of filepath - refactor - optimization --- .../__pycache__/analysis.cpython-37.pyc | Bin 27059 -> 24547 bytes data analysis/analysis.py | 60 ++++-- data analysis/data/data.csv | 199 +++++++++--------- 3 files changed, 148 insertions(+), 111 deletions(-) diff --git a/data analysis/__pycache__/analysis.cpython-37.pyc b/data analysis/__pycache__/analysis.cpython-37.pyc index 584788b167bb7271474aacab34eb8177ef2c2dff..3623dd0414e84ca65868185408946e78896073a8 100644 GIT binary patch delta 8684 zcmbVR4Qw38b>7{(+uJ+-h>|FZ5-EzLeosFXMai;$Xvv~v{aKQKD2mit((3MJc|7ZW z$l0Y#GDn{kxo#aRhLTD1)7XgAq9{^3u~W8b;x=&8z(tBAjU6L#y)MuKZehDE+O!3V z)+pM3Z}!YPo=>siCHK9V**9BzL7@%yea zS4o-71n95z7{Y$Sr-dDu9#hD?`A=?2d`;nH)?B&EQD$Z)itQDWjbm) zYHLwj$HJ(EQCr8>GXo6Pvkfc)yn$_GQQ(a%#x?=R*k)D-yoqgL^}w6iR@MN#h4rvT z;H_*MTLj$0df9g1ZLE(q0r#@v4z?JD?QADo0^G;$U`v5_uwASfcqhA)?FPPs?P1G+ zcd@-}AMl;5pWOw#8)EKf2O#DFInzDNVt2EHkE`ZhHoy*nVjnxq?g8#+N7zx|yVx;y z9C$xF!R~!rDVhh^Np=biceB&%KH!7w5_^C>2o?iukexxxAvVO$0v~3>Yy|io7H8*} z35p{u!5(7gQ98;k)p(lORLsKnSzWP49<&+eYy-rjiDP?Y3YJeRUF`PAO%{D-~K zh_VubJK`K0YQ;%fb6y$gQAyTrfO?<=lC@hQBH24JY1>Pafo6TqwEJ%rbJ z6ri9m^|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