Package topo :: Package base :: Module cf
[hide private]
[frames] | no frames]

Module cf

source code

ConnectionField and associated classes.

This module defines some basic classes of objects used to create simulations of cortical sheets that take input through connection fields that project from other cortical sheets (or laterally from themselves).

ConnectionField: Holds a single connection field within a CFProjection.

CFProjection: A set of ConnectionFields mapping from a Sheet into a ProjectionSheet.

CFSheet: A subclass of ProjectionSheet that provides an interface to the underlying ConnectionFields in any projection of type CFProjection.

$Id: cf.py 11247 2010-07-18 20:39:43Z ceball $


Version: $Revision: 11247 $

Classes [hide private]
  NullCFError
Error thrown when trying to create an empty CF.
  ConnectionField
A set of weights on one input Sheet.
  CFPResponseFn
Map an input activity matrix into an output matrix using the CFs in a CFProjection.
  CFPRF_Plugin
Generic large-scale response function based on a simple single-CF function.
  CFPLearningFn
Compute new CFs for a CFProjection based on input and output activity values.
  CFPLF_Identity
CFLearningFunction performing no learning.
  CFPLF_Plugin
CFPLearningFunction applying the specified single_cf_fn to each CF.
  CFPOutputFn
Type for an object that applies some operation (typically something like normalization) to all CFs in a CFProjection for which the specified mask (typically the activity at the destination of this projection) is nonzero.
  CFPOF_Plugin
Applies the specified single_cf_fn to each CF in the CFProjection for which the mask is nonzero.
  CFPOF_Identity
CFPOutputFn that leaves the CFs unchanged.
  CFProjection
A projection composed of ConnectionFields from a Sheet into a ProjectionSheet.
  CFIter
Iterator to walk through all ConnectionFields of all neurons in the destination Sheet of the given CFProjection.
  MaskedCFIter
Iterator to walk through all ConnectionFields of all neurons in the destination Sheet of the given CFProjection.
  CFSheet
A ProjectionSheet providing access to the ConnectionFields in its CFProjections.
  ResizableCFProjection
A CFProjection with resizable weights.
Functions [hide private]
 
simple_vectorize(fn, num_outputs=1, output_type=<type 'object'>, doc='')
Simplify creation of numpy.vectorize(fn) objects where all outputs have the same typecode.
source code
 
_create_mask(shape, bounds_template, sheet, autosize=True, threshold=0.5)
Create the mask (see ConnectionField.__init__()).
source code
Variables [hide private]
  weight_type = 'f'
  __package__ = 'topo.base'