This module is the interface to the bayesian_structural_analysis (bsa) module It handles the images provided as input and produces result images.
Main function for performing bsa on a set of images. It creates the some output images in the given directory
Parameters : | mask_images: A list of image paths that yield binary images, :
betas: A list of image paths that yields the activation images, :
theta=3., threshold used to ignore all the image data that si below : dmax=5., prior width of the spatial model :
ths=0: threshold on the representativity measure of the obtained :
thq=0.5: p-value of the representativity test: :
smin=0: minimal size (in voxels) of the extracted blobs :
swd: string, optional :
method=’simple’: applied region detection method; to be chose among :
subj_id=None: list of strings, identifiers of the subjects. :
nbeta=’default’, string, identifier of the contrast : dens_path=None, string, path of the output density image :
cr_path=None, string, path of the (4D) output label image :
reshuffle: bool, optional :
|
---|---|
Returns : | AF: an nipy.labs.spatial_models.structural_bfls.landmark_regions :
BF : a list of nipy.labs.spatial_models.hroi.Nroi instances
if method==’loo’, the output is different: :
|