The main routine of this package that aims at performing the extraction of ROIs from multisubject dataset using the localization and activation strength of extracted regions.
This has been published in: - Thirion et al. High level group analysis of FMRI data based on Dirichlet process mixture models, IPMI 2007 - Thirion et al. Accurate Definition of Brain Regions Position Through the Functional Landmark Approach, MICCAI 2010
Author : Bertrand Thirion, 2006-2011
Estimation of the population level model of activation density using dpmm and inference
Parameters : | bf list of nipy.labs.spatial_models.hroi.HierarchicalROI instances :
gf0, array of shape (nr) :
sub, array of shape (nr) :
gfc, array of shape (nr, coord.shape[1]) :
dmax float>0: :
thq = 0.5 (float in the [0,1] interval) :
ths=0, float in the rannge [0,nsubj] :
verbose=0, verbosity mode : |
---|---|
Returns : | crmap: array of shape (nnodes): :
LR: a instance of sbf.LandmarkRegions that describes the ROIs found :
bf: List of nipy.labs.spatial_models.hroi.Nroi instances :
p: array of shape (nnodes): :
|
Estimation of the population level model of activation density using dpmm and inference
Parameters : | bf list of nipy.labs.spatial_models.hroi.HierarchicalROI instances :
gf0, array of shape (nr) :
sub, array of shape (nr) :
gfc, array of shape (nr, coord.shape[1]) :
dmax float>0: :
thq = 0.5 (float in the [0,1] interval) :
ths=0, float in the rannge [0,nsubj] :
verbose=0, verbosity mode : |
---|---|
Returns : | crmap: array of shape (nnodes): :
LR: a instance of sbf.LandmarkRegions that describes the ROIs found :
bf: List of nipy.labs.spatial_models.hroi.Nroi instances :
Coclust: array of shape (nr,nr): :
|
Compute the Bayesian Structural Activation paterns - with statistical validation
Parameters : | dom: StructuredDomain instance, :
lbeta: an array of shape (nbnodes, subjects): :
dmax float>0: :
thq = 0.5 (float): :
smin = 5 (int): minimal size of the regions to validate them : theta = 3.0 (float): first level threshold : method: string, optional, :
verbose=0: verbosity mode : |
---|
Idem compute_BSA_simple, but this one does not estimate the full density (on small datasets, it can be much faster)
Parameters : | dom : StructuredDomain instance,
lbeta: an array of shape (nbnodes, subjects): :
dmax float>0: :
thq = 0.5 (float): :
smin = 5 (int): minimal size of the regions to validate them : theta = 3.0 (float): first level threshold : method: string, optional, :
verbose=0: verbosity mode : |
---|---|
Returns : | crmap: array of shape (nnodes): :
LR: a instance of sbf.LandmarkRegions that describes the ROIs found :
bf: List of nipy.labs.spatial_models.hroi.Nroi instances :
coclust: array of shape (nr, nr): :
|
Compute the Bayesian Structural Activation paterns simplified version
Parameters : | dom : StructuredDomain instance,
lbeta: an array of shape (nbnodes, subjects): :
dmax float>0: :
thq = 0.5 (float): :
smin = 5 (int): minimal size of the regions to validate them : theta = 3.0 (float): first level threshold : method: string, optional, :
verbose=0: verbosity mode : |
---|---|
Returns : | crmap: array of shape (nnodes): :
LR: a instance of sbf.LandmarkRegions that describes the ROIs found :
bf: List of nipy.labs.spatial_models.hroi.Nroi instances :
p: array of shape (nnodes): :
|
Compute the individual regions that are real activation candidates
Parameters : | dom : StructuredDomain instance,
lbeta: an array of shape (nbnodes, subjects) :
smin: int, optional :
theta: float, optional :
method: string, optional, :
verbose: verbosity mode, optional : reshuffle: bool, otpional, :
criterion: string, optional, :
assign_val: string, optional, :
|
---|---|
Returns : | bf list of nipy.labs.spatial_models.hroi.Nroi instances :
gf0, array of shape (nr) :
sub, array of shape (nr) :
gfc, array of shape (nr, coord.shape[1]) :
|
Apply the dpmm analysis to compute clusters from regions coordinates
Convert a set of z-values to posterior probabilities of not being active
Parameters : | test: array pf shape(n_samples), :
learn: array pf shape(n_samples), optional :
method: string, optional, to be chosen within :
alpha: float in the [0,1], optional, :
|
---|