mvpa2.support.nibabel.afni_niml.support_lists

mvpa2.support.nibabel.afni_niml.support_lists(f)

Decorater to allow a function to support list input (and output)

Used as decorator with a function f, it will apply f element-wise to an argument xs if xs is a list or tuple Otherwise it just applies f to xs.

XXX should this be a more universal function for PyMVPA