mvpa2.datasets.niml

Support for storage using the NeuroImaging Markup Language (NIML).

Supports storing most typical values (samples, feature attributes, sample attributes, dataset attributes) that are in a dataset in NIML format, as long as these values are array-like.

Notes

No support for ‘sophisticated’ values such as Mappers

New in version 2.3.0.

Functions

from_any(x) Get a Dataset from the input
from_niml(dset[, fa_labels, sa_labels, a_labels]) Convert a NIML dataset to a Dataset
h5load(filename[, name]) Loads the content of an HDF5 file that has been stored by h5save().
h5save(filename, data[, name, mode, mkdir]) Stores arbitrary data in an HDF5 file.
hstack(dsets[, pad_to_feature_index, ...]) Stacks NIML datasets while considering node indices
read(fn) Read a Dataset from a file in NIML format
to_niml(ds) Convert a Dataset to a NIML dataset
write(fn, ds[, form]) Write a Dataset to a file in NIML format

Classes

ArrayCollectable([value, name, doc, length]) Collectable embedding an array.
Dataset(samples[, sa, fa, a]) Generic storage class for datasets with multiple attributes.
DatasetAttributesCollection([items]) Container for attributes of datasets (i.e.
FeatureAttributesCollection([items, length]) Container for attributes of features
SampleAttributesCollection([items, length]) Container for attributes of samples (i.e.