b125873cb6e0fa9f99137b256ac5fc602e4b72f1,dipy/denoise/tests/test_nlmeans.py,,test_nlmeans,#,9
Before Change
B = nlmeans_3d(A, sigma=1)//np.std(A))
assert_array_almost_equal(A, B, 2)
figure(1)
imshow(A[..., 25])
After Change
print("vol size", data.shape)
from time import time
deb = time()
den = nlmeans_3d(data, sigma=19.8849)
print("total time", time()-deb )
nib.save(nib.Nifti1Image(den, aff, hdr), "t1_denoised.nii.gz")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: nipy/dipy
Commit Name: b125873cb6e0fa9f99137b256ac5fc602e4b72f1
Time: 2014-01-17
Author: Samuel.St-Jean@usherbrooke.ca
File Name: dipy/denoise/tests/test_nlmeans.py
Class Name:
Method Name: test_nlmeans
Project Name: pantsbuild/pants
Commit Name: 8c35227c6e3c4a6b85d2f719c9a62031f5e4ca6f
Time: 2017-12-12
Author: kwlzn@users.noreply.github.com
File Name: tests/python/pants_test/pantsd/test_pantsd_integration.py
Class Name: TestPantsDaemonIntegration
Method Name: assert_success_runner
Project Name: deepchem/deepchem
Commit Name: 045c79caa96b768de9ce363d8c380a5c98f6310d
Time: 2016-11-09
Author: zqwu@sherlock-ln02.stanford.edu
File Name: examples/benchmark.py
Class Name:
Method Name: benchmark_loading_datasets