def setUp(self):
    self.so3 = SpecialOrthogonal(n=3, point_type='vector')
    self.spd = SPDMatrices(3)
    self.spd_metric = SPDMetricAffine(3)
    self.n_samples = 10
    self.X = self.so3.random_uniform(n_samples=self.n_samples)
    self.metric = self.so3.bi_invariant_metric
    self.n_components = 2
def setUp(self):
    self.so3 = SpecialOrthogonal(n=3, point_type='vector')
    self.spd = SPDMatrices(3)
    self.spd_metric = SPDMetricAffine(3)
    self.n_samples = 10
    self.X = self.so3.random_uniform(n_samples=self.n_samples)
    self.metric = self.so3.bi_invariant_metric
    self.n_components = 2