mvpa2.misc.surfing.surf_voxel_selection.from_any

mvpa2.misc.surfing.surf_voxel_selection.from_any(s)

Loads or returns voxel selection results

Parameters:

s: basestring or volume_mask_dict.VolumeMaskDictionary

if a string it is assumed to be a file name and loaded using h5load. If a volume_mask_dict.VolumeMaskDictionary then it is returned.

Returns:

r: volume_mask_dict.VolumeMaskDictionary