Did I find the right examples for you? yes no

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

src/n/i/nipy-0.3.0/nipy/algorithms/segmentation/tests/test_segmentation.py   nipy(Download)
 
from ..segmentation import Segmentation
from ..brain_segmentation import BrainT1Segmentation
 
from ....io.files import load as load_image
def _test_brain_seg(model, niters=3, beta=0, ngb_size=6, init_params=None,
                    convert=True):
    S = BrainT1Segmentation(anat_img.get_data(), mask=anat_mask,
                            model=model, niters=niters, beta=beta,
                            ngb_size=ngb_size, init_params=init_params,

src/n/i/nipy-0.3.0/nipy/algorithms/segmentation/__init__.py   nipy(Download)
from .brain_segmentation import BrainT1Segmentation
from .segmentation import Segmentation, moment_matching
 
from nipy.testing import Tester
test = Tester().test