3f36b6c07ecac99da35de25ec0632d99c286f9b4,dipy/denoise/gibbs.py,,_gibbs_removal_1d,#,60

Before Change


    ssamp = np.linspace(0.02, 0.9, num=45)

    if axis:
        xs = x.copy()
    else:
        xs = x.T.copy()

    // TV for shift zero (baseline)

After Change


    
    ssamp = np.linspace(0.02, 0.9, num=45)

    xs = x.copy() if axis else x.T.copy()

    // TV for shift zero (baseline)
    tvr, tvl = _image_tv(xs, axis=1, n_points=n_points)
    tvp = np.minimum(tvr, tvl)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: nipy/dipy
Commit Name: 3f36b6c07ecac99da35de25ec0632d99c286f9b4
Time: 2019-07-15
Author: rafaelnh21@gmail.com
File Name: dipy/denoise/gibbs.py
Class Name:
Method Name: _gibbs_removal_1d


Project Name: nipy/dipy
Commit Name: 3f36b6c07ecac99da35de25ec0632d99c286f9b4
Time: 2019-07-15
Author: rafaelnh21@gmail.com
File Name: dipy/denoise/gibbs.py
Class Name:
Method Name: _image_tv


Project Name: tensorly/tensorly
Commit Name: efc9ea74b923060c3c6af18779e2e30966ea5cbe
Time: 2020-10-01
Author: jean.kossaifi@gmail.com
File Name: tensorly/decomposition/tests/test_tucker.py
Class Name:
Method Name: test_tucker