Package topo :: Package patterns
[hide private]
[frames] | no frames]

Source Code for Package topo.patterns

 1  """ 
 2  Objects capable of generating a two-dimensional array of values. 
 3   
 4  Such patterns can be used as input to a Sheet, as initial or fixed 
 5  weight patterns, or for any other purpose where a two-dimensional 
 6  pattern may be needed.  Any new PatternGenerator classes added to this 
 7  directory will automatically become available for any model. 
 8   
 9  $Id: __init__.py 4885 2007-02-24 04:25:26Z ceball $ 
10  """ 
11  __version__='$Revision: 4885 $' 
12   
13  # Automatically discover all .py files in this directory.  
14  import re,os 
15  __all__ = [re.sub('\.py$','',f) for f in os.listdir(__path__[0]) 
16             if re.match('^[^_].*\.py$',f)] 
17   
18   
19  # CB: temporarily hide the audio module until it works and is properly 
20  # supported by the GUI etc. 
21  __all__.remove('audio') 
22