90cb6752b3c15830d34dd12ad7da00eece1e5c94,mvpa2/misc/surfing/volgeom.py,VolGeom,contains_lin,#VolGeom#Any#,282

Before Change


        """

        nv = self.nvoxels
        return np.logical_and(0 <= lin, lin < nv)

    def empty_nifti_img(self, nt=1):
        sh = self.shape
        sh4d = (sh[0], sh[1], sh[2], nt)

After Change


        """

        nv = self.nvoxels
        c = np.logical_and(0 <= lin, lin < nv)
        if not self.mask is None:
            c[c] = self.mask[lin[c]]
        return c

    def empty_nifti_img(self, nt=1):
        sh = self.shape
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: PyMVPA/PyMVPA
Commit Name: 90cb6752b3c15830d34dd12ad7da00eece1e5c94
Time: 2012-08-30
Author: nikolaas.oosterhof@unitn.it
File Name: mvpa2/misc/surfing/volgeom.py
Class Name: VolGeom
Method Name: contains_lin


Project Name: neurodsp-tools/neurodsp
Commit Name: 2cf221872851a695227c03f89157432ad7b1c1d7
Time: 2019-04-03
Author: tdonoghue@ucsd.edu
File Name: neurodsp/plts/spectral.py
Class Name:
Method Name: plot_spectral_hist


Project Name: NeuroTechX/moabb
Commit Name: 6da906a10c205692208f778da78971f0d08339b7
Time: 2018-04-14
Author: alexandre.barachant@gmail.com
File Name: moabb/analysis/meta_analysis.py
Class Name:
Method Name: rmANOVA