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.testing.labile

mvpa2.testing.labile(niter=3, nfailures=1)

Decorator for labile tests – runs multiple times

Let’s reduce probability of random failures but re-running the test multiple times allowing to fail few in a row. Makes sense only for tests which run on random data, so usually decorated with reseed_rng. Otherwise it is unlikely that result would change if algorithms are deterministic and operate on the same data

Parameters :

niter: int, optional :

How many iterations to run maximum

nfailures: int, optional :

How many failures to allow

NeuroDebian

NITRC-listed