5af1994def9a52fe1ffd2847b2519f1e27cfbc64,niftynet/io/misc_io.py,,do_resampling,#Any#Any#Any#Any#,149

Before Change


    to_multiply = np.divide(pixdim_init, pixdim_fin[:len(pixdim_init)])
    if len(to_multiply) < data_array.ndim:
        ones = np.ones(data_array.ndim - len(to_multiply))
        to_multiply = np.concatenate((to_multiply, ones))
    to_multiply = to_multiply[:data_array.ndim]
    data_resampled = scipy.ndimage.zoom(data_array,
                                        zoom=to_multiply,
                                        order=interp_order)
    //data_resampled = []

After Change


        return data_array
    to_multiply = np.divide(pixdim_init, pixdim_fin[:len(pixdim_init)])
    data_resampled = []
    for t in range(0, data_array.shape[4]):
        data_mod = []
        for m in range(0, data_array.shape[3]):
            data_3d = data_array[..., m, t]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: NifTK/NiftyNet
Commit Name: 5af1994def9a52fe1ffd2847b2519f1e27cfbc64
Time: 2017-08-12
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/misc_io.py
Class Name:
Method Name: do_resampling


Project Name: Ghadjeres/DeepBach
Commit Name: 01dcd58869385345b5f5fdbbb1c1bf5273c3a671
Time: 2016-12-29
Author: hadjeres.g@gmail.com
File Name: deepBach.py
Class Name:
Method Name:


Project Name: lmcinnes/pynndescent
Commit Name: 3ee0ec1a466cf36842d2af9a6d2663e9af183b67
Time: 2020-05-31
Author: leland.mcinnes@gmail.com
File Name: pynndescent/sparse.py
Class Name:
Method Name: sparse_sum


Project Name: lmcinnes/pynndescent
Commit Name: 57a0617d5ad8e012e1b08028479a9a661162dcf3
Time: 2020-06-25
Author: leland.mcinnes@gmail.com
File Name: pynndescent/sparse.py
Class Name:
Method Name: sparse_sum