@@ -0,0 +1,418 @@
+%22%22%22Test stastical functions.%22%22%22%0Aimport numpy as np%0A%0Afrom tensorpac.stats import test_stationarity as stats_stationarity%0A%0An_epochs = 8%0An_times = 200%0Asf = 128.%0Apval = .05%0Arng = np.random.RandomState(1)%0Adata = rng.rand(n_epochs, n_times)%0A%0A%0Aclass TestStats(object):%0A    %22%22%22Test statistical functions.%22%22%22%0A%0A    def test_stats_stationarity(self):%0A        %22%22%22Test the stationarity.%22%22%22%0A        stats_stationarity(data, p=pval)%0A

test statistics