Exemple #1
0
 def test_mag_dist_eps(self):
     pmf = disagg.mag_dist_eps_pmf(self.matrix)
     self.aae(
         pmf,
         [[[0.88768, 0.673192, 0.972192], [0.9874, 0.98393824, 0.9260596]],
          [[0.9784078, 0.99751528, 0.8089168],
           [0.84592498, 0.9988768, 0.976636]]])
 def test_mag_dist_eps(self):
     pmf = disagg.mag_dist_eps_pmf(self.matrix)
     self.aae(
         pmf,
         [
             [[0.999984831616, 0.997766176716, 0.998979249671], [0.999997772739, 0.999779959211, 0.999985036077]],
             [[0.999994665686, 0.999473519718, 0.999989748277], [1.0, 0.999987940219, 0.999995956695]],
         ],
     )
Exemple #3
0
 def test_mag_dist_eps(self):
     pmf = disagg.mag_dist_eps_pmf(self.matrix)
     self.aae(pmf, [[[0.999984831616, 0.997766176716, 0.998979249671],
                     [0.999997772739, 0.999779959211, 0.999985036077]],
                    [[0.999994665686, 0.999473519718, 0.999989748277],
                     [1.0, 0.999987940219, 0.999995956695]]])
Exemple #4
0
 def test_mag_dist_eps(self):
     pmf = disagg.mag_dist_eps_pmf(self.matrix)
     self.aae(pmf, [[[5.04, 4.49, 3.74], [5.80, 5.03, 6.19]], [[6.19, 4.84, 5.26], [5.65, 6.01, 6.62]]])
 def test_mag_dist_eps(self):
     pmf = disagg.mag_dist_eps_pmf(self.matrix)
     self.aae(pmf, [[[0.88768, 0.673192, 0.972192],
                     [0.9874, 0.98393824, 0.9260596]],
                    [[0.9784078, 0.99751528, 0.8089168],
                     [0.84592498, 0.9988768, 0.976636]]])