Did I find the right examples for you? yes no

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

src/n/i/nipy-0.3.0/nipy/labs/spatial_models/bsa_io.py   nipy(Download)
 
from ..mask import intersect_masks
from .bayesian_structural_analysis import (compute_BSA_simple,
                                           compute_BSA_quick, compute_BSA_loo)
from .discrete_domain import domain_from_image
    if method == 'simple':
        crmap, AF, BF, p = compute_BSA_simple(
            dom, lbeta, dmax, thq, smin, ths, theta, verbose=verbose)
 
    if method == 'quick':

src/n/i/nipy-0.3.0/nipy/labs/spatial_models/tests/test_bsa.py   nipy(Download)
 
from ...utils.simul_multisubject_fmri_dataset import surrogate_2d_dataset
from ..bayesian_structural_analysis import compute_BSA_simple
from ..discrete_domain import domain_from_binary_array
 
    if method == 'simple':
        group_map, AF, BF, likelihood = \
                   compute_BSA_simple(dom, lbeta, dmax, thq, smin, ths,
                                      theta, g0, bdensity)
    return AF, BF