Commit 20d8b624 authored by Manuel Günther's avatar Manuel Günther

Yet another trial to trace NaN values.

parent d2c083c7
......@@ -121,13 +121,11 @@ def test_extrapolate_random():
assert numpy.all(image != 0)
# assert that the masked area is not touched
assert numpy.all(image[fill_src_mask] == fill_src_image[fill_src_mask])
print image
# test that the random values are applied correctly
image = fill_src_image.astype(numpy.float64)
print (image)
# bob.ip.base.extrapolate_mask(fill_src_mask, image, random_sigma = 0.05, neighbors = 1, rng = bob.core.random.mt19937(42))
bob.ip.base.extrapolate_mask(fill_src_mask, image, random_sigma = 0.05, neighbors = 1)
bob.ip.base.extrapolate_mask(fill_src_mask, image, random_sigma = 0., neighbors = 1)
# DEBUG Travis:
print (image)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment