This content refers to an unreleased development version of PyMVPA
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.support.get_nelements_per_value

mvpa2.misc.support.get_nelements_per_value(data)

Returns the number of elements per unique value of some sequence.

Parameters :

data : sequence

This can be any sequence. In addition also ArrayCollectables are supported and this function will make use of any available pre-cached list of unique values.

Returns :

dict with the number of elements (value) per unique value (key) in the :

sequence. :

Previous topic

mvpa2.misc.support.get_limit_filter

Next topic

mvpa2.misc.support.idhash

NeuroDebian

NITRC-listed