def test_trivariate_1d(self): y0 = np.random.randn(10, 100, 3) y1 = np.random.randn(7, 10, 3) d0 = cr1d.Dataset(y0) d1 = cr1d.Dataset(y1) assert isinstance(d0, cr1d.Trivariate1D) assert isinstance(d1, cr1d.Trivariate1D)
def test_univariate_0d(self): y = np.random.randn(10) d = cr1d.Dataset(y) assert isinstance(d, cr1d.Univariate0D)
def test_trivariate_0d(self): y = np.random.randn(10, 3) d = cr1d.Dataset(y) assert isinstance(d, cr1d.Trivariate0D)
# # ax = plt.axes(bbox, projection='3d') # # # # # # plt.show() # # np.random.seed(0) # Univariate 0D: y0 = np.random.randn(8) d0 = cr1d.Dataset(y0) # Bivariate 0D: y1 = np.random.randn(12, 2) d1 = cr1d.Dataset(y1) # Trivariate 0D: y2 = np.random.randn(12, 3) d2 = cr1d.Dataset(y2) # Univariate 1D: y3 = np.random.randn(8, 101) d3 = cr1d.Dataset(y3) # Bivariate 1D: y4 = np.random.randn(8, 101, 2)