This content refers to the previous stable release of PyMVPA.
Please visit
www.pymvpa.org for the most
recent version of PyMVPA and its documentation.
base
Module: base
Inheritance diagram for mvpa.base:
Base functionality of PyMVPA
Module Organization
mvpa.base module contains various modules which are used through out
PyMVPA code, and are generic building blocks
group Basic: | externals, config, verbosity, dochelpers |
-
class mvpa.base.WarningLog(btlevels=10, btdefault=False, maxcount=1, *args, **kwargs)
Bases: mvpa.base.verbosity.OnceLogger
Logging class of messsages to be printed just once per each message
Define Warning logger.
- It is defined by
- btlevels : int
- how many levels of backtrack to print to give a hint on WTF
- btdefault : bool
- if to print backtrace for all warnings at all
- maxcount : int
- how many times to print each warning
-
maxcount
-
mvpa.base.error(msg, critical=True)
Helper function to output errors in a consistent way.
Parameters: |
- msg (string) – Actual error message (will be prefixed with ERROR:)
- critical (bool) – If critical error – exit with
|