neurom.stats.total_score

neurom.stats.total_score(paired_dats, p=2, test=<StatTests.ks: 1>)[source]

Calculates the p-norm of the distances that have been calculated from the statistical test that has been applied on all the paired datasets.

Parameters:paired_dats – a list of tuples or where each tuple contains the paired data lists from two datasets
Options:
p : integer that defines the order of p-norm test: Stat_tests Defines the statistical test to be used, based on the scipy available modules. Accepted tests: ks_2samp, wilcoxon, ttest
Returns:A float corresponding to the p-norm of the distances that have been calculated. 0 corresponds to high similarity while 1 to low.