예제 #1
0
 def test_lcmv_dimensions(self):
     K, F, D = self.K, self.F, self.D
     output = get_lcmv_vector(uniform((K, F, D)), [1, 0], uniform((F, D, D)))
     assert output.shape == (F, D)
예제 #2
0
 def test_scaled_eigenvalue_pca_dimensions(self):
     output = get_pca_vector(uniform(self.shape_psd), 'eigenvalue')
     assert output.shape == self.shape_vector
예제 #3
0
 def test_mvdr_dimensions(self):
     output = get_mvdr_vector(uniform(self.shape_vector), uniform(self.shape_psd))
     assert output.shape == self.shape_vector
예제 #4
0
 def test_scaled_trace_pca_dimensions(self):
     output = get_pca_vector(uniform(self.shape_psd), 'trace')
     assert output.shape == self.shape_vector