mvpa2.datasets.niml.to_niml

mvpa2.datasets.niml.to_niml(ds)

Convert a Dataset to a NIML dataset

Parameters:

dataset: mvpa2.base.Dataset :

A PyMVPA Dataset

Returns:

dset: dict :

Dictionary with NIML key-value pairs, such as obtained from mvpa2.support.nibabel.afni_niml_dset.read()