Did I find the right examples for you? yes no

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

src/n/i/nipy-0.3.0/nipy/labs/spatial_models/bayesian_structural_analysis.py   nipy(Download)
        if nroi is not None and nroi.k > 0:
            bfm = nroi.representative_feature('signal', 'weighted mean')
            bfm = bfm[[nroi.select_id(id) for id in nroi.get_leaves_id()]]
            # get the regions position
            if reshuffle:
                nroi.set_roi_feature('position', mean_pos)
                bfc = mean_pos[[nroi.select_id(id)
                                for id in nroi.get_leaves_id()]]
            gfc.append(bfc)