Package topo
source code
Topographica cortical map simulator package.
Topographica is designed as a collection of packages from which
elements can be selected to model specific systems. For more
information, see the individual subpackages:
base - Core Topographica functions and classes
plotting - Visualization functions and classes
analysis - Analysis functions and classes (besides plotting)
tkgui - Tk-based graphical user interface (GUI)
command - High-level user commands
misc - Various useful independent modules
The Topographica primitives library consists of a family of classes
that can be used with the above functions and classes:
sheet - Sheet classes: 2D arrays of processing units
projection - Projection classes: connections between Sheets
pattern - PatternGenerator classes: 2D input or weight patterns
ep - EventProcessor classes: other simulation objects
outputfn - Output functions, for e.g. normalization or squashing
responsefn - Calculate the response of a Projection
learningfn - Adjust weights for a Projection
coordmapper - CoordinateMapperFn classes: map coords between Sheets
Each of the library directories can be extended with new classes of
the appropriate type, just by adding a new .py file to that directory.
E.g. new PatternGenerator classes can be added to pattern/, and will
then show up in the GUI menus as potential input patterns.
$Id: __init__.py 9078 2008-09-03 01:27:06Z jbednar $
Version:
$Revision: 9078 $
- topo.analysis: Analysis tools for Topographica, other than plotting tools.
- topo.base: Basic files needed by all Topographica programs.
- topo.command: A family of high-level user commands acting on the entire simulation.
- topo.coordmapper: A family of function objects for transforming one set of coordinates into
another.
- topo.ep: EventProcessor classes.
- topo.ipythonTk
- topo.learningfn: A family of function objects for changing a set of weights over time.
- topo.misc: Miscellaneous functions used by Topographica files outside topo.base.
- topo.numbergen: Callable objects that generate numbers according to different distributions.
- topo.numbergen.basic: A collection of classes that, when called, generate numbers
according to different distributions (e.g.
- topo.outputfn: A family of function objects for transforming a matrix generated from some other function.
- topo.outputfn.basic: Simple functions operating on a matrix, potentially modifying it.
- topo.outputfn.optimized: Output functions (see basic.py) and projection-level output functions
(see projfn.py) written in C to optimize performance.
- topo.outputfn.projfn: Output functions (see basic.py) that apply to a whole Projection.
- topo.param: Parameters are a kind of class attribute allowing special behavior,
including dynamically generated parameter values, documentation
strings, constant and read-only parameters, and type or range checking
at assignment time.
- topo.pattern: Objects capable of generating a two-dimensional array of values.
- topo.plotting: Topographica plotting subsystem.
- topo.projection: Projection classes.
- topo.responsefn: A family of response functions for CFProjections.
- topo.sheet: Sheet classes.
- topo.tkgui: Tk-based graphical user interface (GUI).
|
|
|
_mpq_pickle_support()
Allow instances of gmpy.mpq to pickle. |
source code
|
|
|
|
_numpy_ufunc_pickle_support()
Allow instances of numpy.ufunc to pickle. |
source code
|
|
|
|
about(display=True)
Print release and licensing information. |
source code
|
|
|
|
old_seterr_settings = {'divide': 'ignore', 'invalid': 'ignore'...
|
|
|
release = ''
|
|
|
sim = Simulation(basename_format='%(name)s_%(timestr)s', name=...
|
|
|
time_type_args = ()
|
|
|
version = ''
|
old_seterr_settings
- Value:
{'divide': 'ignore', 'invalid': 'ignore', 'over': 'ignore', 'under': 'ignore'}
|
|
sim
- Value:
Simulation(basename_format='%(name)s_%(timestr)s', name=None, print_level=100, reg
ister=True, startup_commands=[], time_printing_format='%(_time)09.2f', time_type=<
built-in function mpq>, time_type_args=())
|
|