bad916ddb999c8c6562f8bba2ac1ba130e87ad29,skimage/restoration/tests/test_restoration.py,,test_wiener,#,15

Before Change


    data += 0.1 * data.std() * np.random.standard_normal(data.shape)
    deconvolved = restoration.wiener(data, psf, 0.05)

    path = pjoin(dirname(abspath(__file__)), "camera_wiener.npy")
    np.testing.assert_allclose(deconvolved, np.load(path), rtol=1e-3)

    _, laplacian = uft.laplacian(2, data.shape)
    otf = uft.ir2tf(psf, data.shape, is_real=False)

After Change


    data += 0.1 * data.std() * np.random.standard_normal(data.shape)
    deconvolved = restoration.wiener(data, psf, 0.05)

    path = fetch("restoration/tests/camera_wiener.npy")
    np.testing.assert_allclose(deconvolved, np.load(path), rtol=1e-3)

    _, laplacian = uft.laplacian(2, data.shape)
    otf = uft.ir2tf(psf, data.shape, is_real=False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: scikit-image/scikit-image
Commit Name: bad916ddb999c8c6562f8bba2ac1ba130e87ad29
Time: 2020-03-12
Author: mark.harfouche@gmail.com
File Name: skimage/restoration/tests/test_restoration.py
Class Name:
Method Name: test_wiener


Project Name: scikit-image/scikit-image
Commit Name: bad916ddb999c8c6562f8bba2ac1ba130e87ad29
Time: 2020-03-12
Author: mark.harfouche@gmail.com
File Name: skimage/restoration/tests/test_restoration.py
Class Name:
Method Name: test_unsupervised_wiener


Project Name: scikit-image/scikit-image
Commit Name: bad916ddb999c8c6562f8bba2ac1ba130e87ad29
Time: 2020-03-12
Author: mark.harfouche@gmail.com
File Name: skimage/restoration/tests/test_restoration.py
Class Name:
Method Name: test_richardson_lucy


Project Name: scikit-image/scikit-image
Commit Name: bad916ddb999c8c6562f8bba2ac1ba130e87ad29
Time: 2020-03-12
Author: mark.harfouche@gmail.com
File Name: skimage/color/tests/test_delta_e.py
Class Name:
Method Name: load_ciede2000_data