from brian import * from brian.log import log_info try: import pygame except ImportError: # as this is an experimental package, don't bother the user with a warning log_info(__name__, 'Could not import pygame. The RealtimeConnectionMonitor ' 'class depends on it.') import matplotlib.cm as cm __all__ = ['RealtimeConnectionMonitor'] class RealtimeConnectionMonitor(NetworkOperation): ''' Realtime monitoring of weight matrix Short docs: ``C`` Connection to monitor ``size`` Dimensions (width, height) of output window, leave as ``None`` to use ``C.W.shape``. ``scaling`` If output window dimensions are different to connection matrix, scaling is used, options are ``'fast'`` for no interpolation, or ``'smooth'`` for (slower) smooth interpolation. ``wmin, wmax``
from brian import * from brian.log import log_info try: import pygame except ImportError: # as this is an experimental package, don't bother the user with a warning log_info( __name__, 'Could not import pygame. The RealtimeConnectionMonitor ' 'class depends on it.') import matplotlib.cm as cm __all__ = ['RealtimeConnectionMonitor'] class RealtimeConnectionMonitor(NetworkOperation): ''' Realtime monitoring of weight matrix Short docs: ``C`` Connection to monitor ``size`` Dimensions (width, height) of output window, leave as ``None`` to use ``C.W.shape``. ``scaling`` If output window dimensions are different to connection matrix, scaling is used, options are ``'fast'`` for no interpolation, or ``'smooth'`` for (slower) smooth interpolation.
from brian import * from brian.log import log_info try: import pygame except ImportError: # as this is an experimental package, don't bother the user with a warning log_info('Could not import pygame. The RealtimeConnectionMonitor class ' 'depends on it.') import matplotlib.cm as cm __all__ = ['RealtimeConnectionMonitor'] class RealtimeConnectionMonitor(NetworkOperation): ''' Realtime monitoring of weight matrix Short docs: ``C`` Connection to monitor ``size`` Dimensions (width, height) of output window, leave as ``None`` to use ``C.W.shape``. ``scaling`` If output window dimensions are different to connection matrix, scaling is used, options are ``'fast'`` for no interpolation, or ``'smooth'`` for (slower) smooth interpolation. ``wmin, wmax``