aa87787b4c7972a56b71b368233470299e2bc8f2,pynets/registration/reg_utils.py,,atlas2t1w2dwi_align,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,93

Before Change


    uatlas_res_template = resample_to_img(
        atlas_img_orig, 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

    uatlas_res_template = nib.Nifti1Image(
        uatlas_res_template_data.astype("int32"),
        affine=uatlas_res_template.affine,
        header=uatlas_res_template.header,
    )
    nib.save(uatlas_res_template, aligned_atlas_t1mni)

    if simple is False:
        try:

After Change


        atlas_img_orig, template_img, interpolation="nearest"
    )

    uatlas_res_template = nib.Nifti1Image(
        np.asarray(uatlas_res_template.dataobj).astype("uint16"),
        affine=uatlas_res_template.affine,
        header=uatlas_res_template.header,
    )
    nib.save(uatlas_res_template, aligned_atlas_t1mni)

    if simple is False:
        try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


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


Project Name: dPys/PyNets
Commit Name: aa87787b4c7972a56b71b368233470299e2bc8f2
Time: 2020-07-23
Author: dpisner@utexas.edu
File Name: pynets/registration/reg_utils.py
Class Name:
Method Name: RegisterParcellation2MNIFunc_align


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