示例#1
0
 def unwrap(self):
     im = image.rarray((101, 101))
     rt, r, th, n = image.unwrap(im, [50, 50], bins=10)
     assert np.allclose(rt[3, :5], rt[3, 5:])
示例#2
0
 def unwrap(self):
     im = image.rarray((101, 101))
     rt, r, th, n = image.unwrap(im, [50, 50], bins=10)
     assert np.allclose(rt[3, :5], rt[3, 5:])
示例#3
0
 def test_rarray(self):
     r = image.rarray((10, 10), subsample=10)
     assert all(r[4:6, 4] == r[4:6, 5])
示例#4
0
 def test_rarray(self):
     r = image.rarray((10, 10), subsample=10)
     assert all(r[4:6, 4] == r[4:6, 5])