Table of ContentsPreviousNextIndex

Put your logo here!


A NuPIC Directories, Elements, and Help

This appendix gives an overview of the NuPIC components and explains how to get online help.

Topics

NuPIC Directory Structure

This section gives an overview of the NuPIC directory structure.

Top level
   
README.TXT
contains release notes for this version of the software.
<license file>
The license file named LICENSE-NuPIC-<xyz>.pdf differs for different situations. The file contains a copy of the actual license terms you agreed to when you downloaded the software.
/bin
The /bin directory contains NuPIC executable programs.
 
numenta_runtime
The Numenta Runtime Engine. This application can act as either a Supervisor or a Node Processor.
 
launcher
Numenta tool for starting up the runtime in different configurations.
 
orted (UNIX only)
The Open Run Time Environment Daemon from Open MPI (www.open-mpi.org), which Numenta uses for underlying process management and interprocess communication
 
orterun (UNIX only)
a program for starting Open MPI programs.
/lib
The /lib directory contains NuPIC plugins and python modules used with NuPIC.
 
libLearningPlugin.so /dll /dylib
Contains the learning node types provided by Numenta, including the TemporalPoolerNode, SpatialPoolerNode, and Zeta1TopNode.
 
libBasicPlugin.so /dll /dylib
Contains all non-learning node types (except for Python nodes) provided by Numenta, including VectorFileEffector, VectorFileSensor, and PassThroughNode.
 
python2.5/site-packages
Contains all Python packages provided by Numenta. The nupic python module contains NuPIC-specific functionality and are described in more detail below. NuPIC also includes the Python Imaging Library (PIL), the Numerical Python Library (numpy) the matplotlib plotting package, iPython, xPython, opencv, and the Traits GUI.
/share
   
 
doc
The /doc directory contains documentation plus licenses for 3rd party software used by NuPIC.
 
projects
The /projects directory contains example HTM applications such as bitworm, waves, flu, and pictures.
 
openmpi (UNIX only)
The openmpi directory is used by Open MPI and can be ignored.
 
vision
Vision Framework

NuPIC Python Modules

The nupic package contains all Numenta Python support. It includes utility routines for configuring and saving HTM networks, as well as routines for launching the Numenta Runtime Engine and using the Runtime Engine for training and testing HTM networks. The most important packages in NuPIC Tools are:

For information on each package, call help(<package>), for example:

help(nupic.network) 

NuPIC Node Types

This section gives an overview of the available nodes. Extensive online help for each node is available. See How to Access NuPIC Built-in Help.

   nodeHelp("py.ImageSensor") 
   nodeHelp("py.ImageSensor") 
 

See the Vision Framework Guide for more information.

How to Access NuPIC Built-in Help

The NuPIC APIs contain extensive built-in help. You can use Pydoc and Python's built-in help to get a complete online reference manual for the APIs. This section explains how you can access that help:

Using Pydoc

   pydoc nupic.network  

a. Type pydoc -g.

b. Select Open Browser in the window that is displayed.

c. Click nupic for help on NuPIC.

   import nupic.network 
   help(nupic.network) 

Getting Help for Nodes and Helper Functions

In NuPIC, node types are implemented as plugins, so pydoc cannot generate help on node-specific parameters and commands. NuPIC includes nodeHelp, which reads in each plugin's specification and displays help for the corresponding node. For example, the following command generates extensive online help for SpatialPoolerNode:

from nupic.network import * 
nodeHelp(`SpatialPoolerNode') 

If the node is implemented as a Python plug-in, you can choose one of the following ways to invoke node help:

nodeHelp("nupic.pynodes.ImageSensor.ImageSensor") 
nodeHelp("py.ImageSensor") 

For the helper functions, you can display help as follows:

from nupic.network.helpers import * 
help ("nupic.network.helpers") 

You can also display help for individual helpers:

from nupic.network.helpers import * 
help ("AddLevel") 

Numenta
www.Numenta.com
Table of ContentsPreviousNextIndex