01d18e835815feedeac2fbeff8025cdd94128eaa,pynets/fmri/clustools.py,NilParcellate,create_clean_mask,#NilParcellate#,411

Before Change



        // Load clustering mask
        self._clust_mask_img = nib.load(self.clust_mask)
        self._mask_data = np.asarray(self._clust_mask_img.dataobj).astype("bool").astype("uint8")

        // Ensure mask does not inclue voxels outside of the brain
        self._masked_fmri_vol = np.asarray(self._func_img.dataobj)[:, :, :, 0]
        self._masked_fmri_vol = self._masked_fmri_vol.astype("bool")

After Change


                                                         math_img("img > 0", img=mask_res_img)],
                                                        threshold=1, connected=False)
            self._mask_img.uncache()
            mask_res_img.uncache()
        else:
            self._clust_mask_corr_img = intersect_masks([math_img("img > 0", img=func_vol_img),
                                                         math_img("img > 0", img=clust_mask_res_img)],
                                                        threshold=1, connected=False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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


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: e4a36f3215735f8c351beb8f27edeb02eabb121f
Time: 2019-11-04
Author: dpisner@utexas.edu
File Name: pynets/fmri/clustools.py
Class Name:
Method Name: individual_clustering