52bdab14484a69594976e84afc70a0790f679588,pynets/registration/register.py,DmriReg,tissue2dwi_align,#DmriReg#,577

Before Change



        // Threshold GM to binary in dwi space
        thr_img = nib.load(self.gm_in_dwi)
        np.asarray(thr_img.dataobj)[np.asarray(thr_img.dataobj) < 0.2] = 0
        nib.save(thr_img, self.gm_in_dwi_bin)

        // Threshold CSF to binary in dwi space

After Change



        // Threshold WM to binary in dwi space
        thr_img = nib.load(self.wm_in_dwi)
        thr_img = math_img("img > 0.1", img=thr_img)
        nib.save(thr_img, self.wm_in_dwi_bin)

        // Threshold GM to binary in dwi space
        thr_img = nib.load(self.gm_in_dwi)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: dPys/PyNets
Commit Name: 52bdab14484a69594976e84afc70a0790f679588
Time: 2019-12-28
Author: dpisner@utexas.edu
File Name: pynets/registration/register.py
Class Name: DmriReg
Method Name: tissue2dwi_align


Project Name: dPys/PyNets
Commit Name: 31775c422876534b0df7f26d253f2380db90d4b0
Time: 2020-03-21
Author: dpisner@utexas.edu
File Name: pynets/dmri/track.py
Class Name:
Method Name: prep_tissues


Project Name: dPys/PyNets
Commit Name: 01d18e835815feedeac2fbeff8025cdd94128eaa
Time: 2019-12-09
Author: dpisner@utexas.edu
File Name: pynets/fmri/clustools.py
Class Name: NilParcellate
Method Name: create_clean_mask