topo :: base :: functionfamily :: PatternDrivenAnalysis :: Class PatternDrivenAnalysis
[hide private]
[frames] | no frames]

Class PatternDrivenAnalysis

source code


Abstract base class for various stimulus-response types of analysis.

This type of analysis consists of presenting a set of input patterns and collecting the responses to each one, which one will often want to do in a way that does not affect the current state of the network.

To achieve this, the class defines several types of hooks where arbitrary function objects (i.e., callables) can be registered. These hooks are generally used to ensure that unrelated previous activity is eliminated, that subsequent patterns do not interact, and that the initial state is restored after analysis.

Any subclasses must ensure that these hook lists are run at the appropriate stage in their processing, using e.g. "for f in some_hook_list: f()".

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]

Inherited from param.parameterized.Parameterized: __getstate__, __init__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, set_default, set_dynamic_time_fn, set_param, state_pop, state_push, verbose, warning

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  __abstract = True
bool(x) -> bool
  pre_analysis_session_hooks = param.HookList(default= [], insta...
List of callable objects to be run before an analysis session begins.
  pre_presentation_hooks = param.HookList(default= [], instantia...
List of callable objects to be run before each pattern is presented.
  post_presentation_hooks = param.HookList(default= [], instanti...
List of callable objects to be run after each pattern is presented.
  post_analysis_session_hooks = param.HookList(default= [], inst...
List of callable objects to be run after an analysis session ends.
  name = <param.parameterized.String object at 0xa9c152c>
String identifier for this object.

Inherited from param.parameterized.Parameterized: print_level

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__abstract

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

Value:
True

pre_analysis_session_hooks

List of callable objects to be run before an analysis session begins.
Value:
param.HookList(default= [], instantiate= False, doc= """
        List of callable objects to be run before an analysis session begins.""")

pre_presentation_hooks

List of callable objects to be run before each pattern is presented.
Value:
param.HookList(default= [], instantiate= False, doc= """
        List of callable objects to be run before each pattern is presented.""")

post_presentation_hooks

List of callable objects to be run after each pattern is presented.
Value:
param.HookList(default= [], instantiate= False, doc= """
        List of callable objects to be run after each pattern is presented.""")

post_analysis_session_hooks

List of callable objects to be run after an analysis session ends.
Value:
param.HookList(default= [], instantiate= False, doc= """
        List of callable objects to be run after an analysis session ends.""")