This content refers to an unreleased development version of PyMVPA
To provide the most recent news and documentation www.pymvpa.org reflects the development 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.

mvpa.mappers.fx.mean_group_sample

mvpa.mappers.fx.mean_group_sample(attrs, attrfx='merge')

Returns a mapper that computes the mean samples of unique sample groups.

The sample groups are identified by the unique combination of all values of a set of provided sample attributes.

Parameters :

attrs : list

List of sample attributes whose unique values will be used to identify the samples groups.

attrfx : ‘merge’ or callable, optional

Callable that is used to determine the sample attributes of the computed mean samples. By default this will be a string representation of all unique value of a particular attribute in any sample 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