Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/n/i/nipy-0.3.0/nipy/labs/spatial_models/hroi.py   nipy(Download)
                # compute new roi features
                for fid in self.roi_features.keys():
                    dj = self.get_roi_feature(fid)
                    if fid in pull_features:
                        # modify only if `pull` requested
                # compute new roi features
                for fid in self.roi_features.keys():
                    dj = self.get_roi_feature(fid)
                    if fid in pull_features:
                        # modify only if `pull` requested
        # copy ROI features
        for fid in self.roi_features.keys():
            cp.set_roi_feature(fid, self.get_roi_feature(fid))
        return cp