To provide the most recent news and documentation www.pymvpa.org reflects the development 2.0 series (renamed 0.6 series) of PyMVPA. If you are interested in the documentation of the previous stable 0.4 series of PyMVPA, please visit v04.pymvpa.org.

mvpa2.misc.io.design2labels

mvpa2.misc.io.design2labels(columndata, baseline_label=0, func=<function <lambda> at 0xfa53b18>)

Helper to convert design matrix into a list of labels

Given a design, assign a single label to any given sample

TODO: fix description/naming

Parameters :

columndata : ColumnData

Attributes where each known will be considered as a separate explanatory variable (EV) in the design.

baseline_label :

What label to assign for samples where none of EVs was given a value

func : functor

Function which decides either a value should be considered

Returns :

list of labels which are taken from column names in ColumnData and :

baseline_label :

NeuroDebian

NITRC-listed