Did I find the right examples for you? yes no

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

src/n/i/nipy-0.3.0/nipy/labs/spatial_models/bayesian_structural_analysis.py   nipy(Download)
                mean_pos = np.asarray(
                    [np.mean(coords, 0) for coords in nroi.get_coord()])
                nroi.set_roi_feature('position', mean_pos)
                bfc = mean_pos[[nroi.select_id(id)
                                for id in nroi.get_leaves_id()]]