This content refers to an unreleased development version of PyMVPA

mvpa.base.types.accepts_dataset_as_samples

mvpa.base.types.accepts_dataset_as_samples(fx)

Decorator to extract samples from Datasets.

Little helper to allow methods to be written for plain data (if they don’t need information from a Dataset), but at the same time also accept whole Datasets as input.

Previous topic

mvpa.base.types.is_datasetlike

Next topic

mvpa.base.types.asobjarray

NeuroDebian

NITRC-listed