mvpa2.support.nibabel.afni_niml_roi.from_any

mvpa2.support.nibabel.afni_niml_roi.from_any(roi, postproc=None)

Returns an ROI representation

Parameters:

roi: str or list

Filename or list of ROI representations

postproc: callable or None (default: None)

Postprocessing that is applied after processing the ROIs