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.MapOverlap

Inheritance diagram of MapOverlap

class mvpa2.misc.support.MapOverlap(overlap_threshold=1.0)

Compute some overlap stats from a sequence of binary maps.

When called with a sequence of binary maps (e.g. lists or arrays) the fraction of mask elements that are non-zero in a customizable proportion of the maps is returned. By default this threshold is set to 1.0, i.e. such an element has to be non-zero in all maps.

Three additional maps (same size as original) are computed:

  • overlap_map: binary map which is non-zero for each overlapping element.

  • spread_map: binary map which is non-zero for each element that is

    non-zero in any map, but does not exceed the overlap threshold.

  • ovstats_map: map of float with the raw elementwise fraction of overlap.

All maps are available via class members.

Nothing to be seen here.

Previous topic

mvpa2.misc.support.ListType

Next topic

mvpa2.misc.support.SmartVersion

NeuroDebian

NITRC-listed