示例#1
0
 def test_mag_lon_lat(self):
     pmf = disagg.mag_lon_lat_pmf(self.matrix)
     self.aae(
         pmf,
         [
             [[0.999992269326, 0.999996551231], [0.999999622937, 0.999999974769]],
             [[1.0, 0.999999999765], [0.999999998279, 0.999993421953]],
         ],
     )
示例#2
0
 def test_mag_lon_lat(self):
     pmf = disagg.mag_lon_lat_pmf(self.matrix)
     self.aae(pmf, [[[0.89146822, 0.9836056], [0.9993916, 0.98589012]],
                    [[0.99232001, 0.99965328], [0.99700079, 0.99480979]]])
示例#3
0
 def test_mag_lon_lat(self):
     pmf = disagg.mag_lon_lat_pmf(self.matrix)
     self.aae(pmf,
              [[[0.999992269326, 0.999996551231],
                [0.999999622937, 0.999999974769]],
               [[1.0, 0.999999999765], [0.999999998279, 0.999993421953]]])
示例#4
0
 def test_mag_lon_lat(self):
     pmf = disagg.mag_lon_lat_pmf(self.matrix)
     self.aae(pmf, [[[6.59, 6.59], [8.47, 8.64]], [[7.38, 11.0], [9.27, 6.92]]])
示例#5
0
 def test_mag_lon_lat(self):
     pmf = disagg.mag_lon_lat_pmf(self.matrix)
     self.aae(pmf, [[[0.89146822, 0.9836056],
                     [0.9993916, 0.98589012]],
                    [[0.99232001, 0.99965328],
                     [0.99700079, 0.99480979]]])