Multivariate Pattern Analysis in Python

### Navigation

- index
- modules |
- modules |
- PyMVPA Home |
- Sitemap »

# mvpa2.base.verbosity

Verbose output and debugging facility

Examples: from verbosity import verbose, debug; debug.active = [1,2,3]; debug(1, “blah”)

Functions

`basename`(p) | Returns the final component of a pathname
`dirname`(p) | Returns the directory component of a pathname
`get_vmem`() | Return a string summary about utilization of virtual memory
`get_vmem_from_status`() | Return a string summary about utilization of virtual memory
`getpid`(() -> pid) | Return the current process id
`mbasename`(s) | Custom function to include directory name if filename is too common
`parse_status`([field, value_only]) | Return stat information on current process.

Classes

`DebugLogger`([metrics, offsetbydepth]) | Logger for debugging purposes.
`LevelLogger`([level, indent]) | Logger not to log anything with a level smaller than specified.
`Logger`([handlers]) | Base class to provide logging
`OnceLogger`(*args, **kwargs) | Logger which prints a message for a given ID just once.
`RelativeTime`([format]) | Simple helper class to provide relative time it took from previous invocation :Parameters: format : str String format to use for reporting time.
`SetLogger`([register, active, printsetid]) | Logger which prints based on defined sets identified by Id.
`TraceBack`([collide]) | Customized traceback to be included in debug messages Initialize TrackBack metric :Parameters: collide : bool if True then prefix common with previous invocation gets replaced with ...

### Navigation

- index
- modules |
- modules |
- PyMVPA Home |
- Sitemap »