Ejemplo n.º 1
0
 def test_CartesianVolume(self):
     gridder = vpr.CartesianVolume(self.xyz, self.trgxyz, self.trgshape,
                                   self.maxrange, self.minelev,
                                   self.maxelev)
     out = gridder(self.data)
     self.assertEqual(out.shape, (6084,))
     self.assertEqual(len(np.where(np.isnan(out))[0]), 0)
Ejemplo n.º 2
0
 def test_CartesianVolume(self):
     gridder = vpr.CartesianVolume(
         self.xyz,
         self.trgxyz,
         self.trgshape,
         self.maxrange,
         self.minelev,
         self.maxelev,
     )
     out = gridder(self.data)
     assert out.shape == (6084, )
     assert len(np.where(np.isnan(out))[0]) == 0