0742b80f3c175de082127ee73a7364e173fd60df,dipy/align/tests/test_sumsqdiff.py,,test_compute_residual_displacement_field_ssd_2d,#,9
Before Change
assert_allclose(actual, expected, rtol = rtol, atol = atol)
//Test residual != None
residual = np.random.randn(actual.size).reshape(actual.shape).astype(floating)
iut(delta_field, sigma_field, grad_G.astype(floating),
target, lambda_param, d, residual)
assert_allclose(actual, expected, rtol = rtol, atol = atol)
After Change
// Test Gauss-Seidel step with residual=None and residual=target
for residual in [None, target]:
expected = d.copy()
iterate_residual_field_ssd_2d(delta_field, sigma_field,
grad_G.astype(floating), residual, lambda_param, expected)
actual = d.copy()
ssd.iterate_residual_displacement_field_ssd_2d(delta_field,
sigma_field, grad_G.astype(floating), residual, lambda_param, actual)
assert_allclose(actual, expected, rtol = rtol, atol = atol)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: nipy/dipy
Commit Name: 0742b80f3c175de082127ee73a7364e173fd60df
Time: 2014-09-30
Author: jomaroceguedag@gmail.com
File Name: dipy/align/tests/test_sumsqdiff.py
Class Name:
Method Name: test_compute_residual_displacement_field_ssd_2d
Project Name: nipy/dipy
Commit Name: 0742b80f3c175de082127ee73a7364e173fd60df
Time: 2014-09-30
Author: jomaroceguedag@gmail.com
File Name: dipy/align/tests/test_sumsqdiff.py
Class Name:
Method Name: test_compute_residual_displacement_field_ssd_3d
Project Name: nipy/dipy
Commit Name: 0742b80f3c175de082127ee73a7364e173fd60df
Time: 2014-09-30
Author: jomaroceguedag@gmail.com
File Name: dipy/align/tests/test_sumsqdiff.py
Class Name:
Method Name: test_compute_residual_displacement_field_ssd_2d
Project Name: pymc-devs/pymc3
Commit Name: 48e4d759587291cef92c060949cdd11185209063
Time: 2012-05-02
Author: jsalvatier@gmail.com
File Name: mcex/core.py
Class Name: VariableMapping
Method Name: project