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.base.DebugLogger

Inheritance diagram of DebugLogger

class mvpa2.base.DebugLogger(metrics=None, offsetbydepth=True, *args, **kwargs)

Logger for debugging purposes.

Expands SetLogger with ability to print some interesting information (named Metric... XXX) about current process at each debug printout

Parameters :

metrics : iterable of (func or str) or None

What metrics (functions) to be reported. If item is a string, it is matched against _known_metrics keys.

offsetbydepth : bool, optional

Either to offset lines depending on backtrace depth (default behavior).

*args, **kwargs :

Passed to SetLogger initialization XXX

metrics
offsetbydepth
register_metric(func)

Register some metric to report

func can be either a function call or a string which should correspond to known metrics

NeuroDebian

NITRC-listed