Merge pull request #12 from titanscout2022/master-staged

analysis.py v 1.2.1.002
This commit is contained in:
ltcptgeneral 2020-05-13 11:44:25 -05:00 committed by GitHub
commit 7bee61659e

View File

@ -7,10 +7,12 @@
# current benchmark of optimization: 1.33 times faster
# setup:
__version__ = "1.2.1.001"
__version__ = "1.2.1.002"
# changelog should be viewed using print(analysis.__changelog__)
__changelog__ = """changelog:
1.2.1.002:
- renamed ArrayTest class to Array
1.2.1.001:
- added add, mul, neg, and inv functions to ArrayTest class
- added normalize function to ArrayTest class
@ -943,7 +945,7 @@ class StatisticalTest:
results = scipy.stats.normaltest(a, axis = axis, nan_policy = nan_policy)
return {"z-score": results[0], "p-value": results[1]}
class ArrayTest(): # tests on nd arrays independent of basic_stats
class Array(): # tests on nd arrays independent of basic_stats
def elementwise_mean(self, *args): # expects arrays that are size normalized