521c40dbcbcb9f7b7868175b1710760dd8b5d1fd,pynets/registration/reg_utils.py,,atlas2t1w_align,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,361

Before Change



    template_img = nib.load(t1_aligned_mni)
    if uatlas_parcels:
        uatlas_res_template = resample_to_img(
            nib.load(uatlas_parcels), template_img, interpolation="nearest"
        )
    else:
        uatlas_res_template = resample_to_img(
            nib.load(uatlas), template_img, interpolation="nearest"
        )

After Change



    template_img = nib.load(t1_aligned_mni)
    if uatlas_parcels:
        atlas_img = nib.load(uatlas_parcels)
    else:
        atlas_img = nib.load(uatlas)
    uatlas_res_template = resample_to_img(
        atlas_img, template_img, interpolation="nearest"
    )
    uatlas_res_template_data = np.asarray(uatlas_res_template.dataobj)
    uatlas_res_template_data[
        uatlas_res_template_data != uatlas_res_template_data.astype(int)
    ] = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: dPys/PyNets
Commit Name: 521c40dbcbcb9f7b7868175b1710760dd8b5d1fd
Time: 2020-07-06
Author: dpisner@utexas.edu
File Name: pynets/registration/reg_utils.py
Class Name:
Method Name: atlas2t1w_align


Project Name: dPys/PyNets
Commit Name: 7dc35cbcb7d12dc1dc11688f22bb0ddda393847d
Time: 2020-08-12
Author: dpisner@utexas.edu
File Name: pynets/registration/reg_utils.py
Class Name:
Method Name: gen_mask


Project Name: dPys/PyNets
Commit Name: 521c40dbcbcb9f7b7868175b1710760dd8b5d1fd
Time: 2020-07-06
Author: dpisner@utexas.edu
File Name: pynets/registration/reg_utils.py
Class Name:
Method Name: atlas2t1w2dwi_align