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.mappers.fx.mean_group_feature

mvpa2.mappers.fx.mean_group_feature(attrs, attrfx='merge')

Returns a mapper that computes the mean features of unique feature groups.

The feature groups are identified by the unique combination of all values of a set of provided feature attributes. Order of output features might differ from original and correspond to sorted order of corresponding attrs.

Parameters :

attrs : list

List of feature attributes whos unique values will be used to identify the feature groups.

attrfx : ‘merge’ or callable, optional

Callable that is used to determine the feature attributes of the computed mean features. By default this will be a string representation of all unique value of a particular attribute in any feature group. If there is only a single value in a group it will be used as the new attribute value.

Returns :

FxMapper instance. :

NeuroDebian

NITRC-listed