|
Nengo.ca | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.nengo.model.impl.NetworkImpl
ca.nengo.model.neuron.impl.PyramidalNetwork
public class PyramidalNetwork
Non Linear Network This network is a model of Pyramidal Cells found in the central nervous system These cells contain an active dendritic tree with functional computation occuring within the dendrites themselves. The implementation chosen involves creating a network of Ensembles(dendrites and cell bodies) such that one ensemble of "dendrites" projects to a specific termination in the "soma" ensemble with weights chosen in such a way that only one node of the soma is given an input from a specific dendritic branch.
Nested Class Summary | |
---|---|
static class |
PyramidalNetwork.PoiraziDendriteFactory
Creates neurons which are meant to model the dendrites of pyramidal cells Code is a modified version of NodeFactory written by Bryann Tripp |
Nested classes/interfaces inherited from class ca.nengo.model.impl.NetworkImpl |
---|
NetworkImpl.OriginWrapper, NetworkImpl.TerminationWrapper |
Nested classes/interfaces inherited from interface ca.nengo.util.VisiblyMutable |
---|
VisiblyMutable.Event, VisiblyMutable.Listener, VisiblyMutable.NameChangeEvent, VisiblyMutable.NodeRemovedEvent |
Field Summary |
---|
Fields inherited from class ca.nengo.model.impl.NetworkImpl |
---|
DEFAULT_NAME, myNumGPU, myNumJavaThreads, myUseGPU |
Constructor Summary | |
---|---|
PyramidalNetwork()
Default constructor |
|
PyramidalNetwork(java.lang.String name)
Gives a default of 1 dimension |
|
PyramidalNetwork(java.lang.String name,
int dim)
Gives a default number of 20 neurons and 100 dendrites per neuron |
|
PyramidalNetwork(java.lang.String name,
int dim,
int size)
Gives a default subunit size of 100 |
|
PyramidalNetwork(java.lang.String name,
int dim,
int size,
IndicatorPDF dendriteRange)
|
|
PyramidalNetwork(java.lang.String name,
int dim,
int size,
IndicatorPDF dendriteRange,
java.lang.String f)
|
|
PyramidalNetwork(java.lang.String name,
int dim,
int size,
IndicatorPDF dendriteRange,
java.lang.String f,
boolean oneDim)
|
|
PyramidalNetwork(java.lang.String name,
int dim,
int size,
IndicatorPDF dendriteRange,
java.lang.String f,
boolean oneDim,
boolean LIFDendrites,
boolean spikingLIFDendrites)
|
Method Summary | |
---|---|
void |
addDecodedTermination(java.lang.String name,
float[][] transform,
float tauPSC,
boolean modulatory)
Adds a standard decoded termination to the network |
void |
addOneDimTermination(java.lang.String name,
int dimension)
Default one dimension termination with no transform Sets a default transform of 1 |
void |
addOneDimTermination(java.lang.String name,
int dimension,
float transform)
Adds a one dimension termination to the network This allows the user to specify which dimension the input value should be stored in as opposed to sending in a weight matrix to do so A multiplier transform is also expected |
void |
createFunctionOriginDendrites()
Creates an origin at the dendrite level with a user specified function The value calculated at the dendrites is then transferred to the soma ensemble |
NEFEnsemble |
getDendrites(int index)
Mainly used for testing purposes when trying to find proper scale values |
java.lang.String |
getName()
|
Origin |
getOrigin()
|
float |
getRange(int index)
For testing |
float[] |
getScales(int index)
Gets the scale values for a particular dendritic ensemble |
NEFEnsemble |
getSoma()
|
void |
makeNetwork()
Creates nodes and calls methods to make all origins, terminations, and projections |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PyramidalNetwork(java.lang.String name, int dim, int size, IndicatorPDF dendriteRange, java.lang.String f, boolean oneDim, boolean LIFDendrites, boolean spikingLIFDendrites) throws StructuralException
name
- Name of the networkdim
- Dimensions of the networksize
- Number of pyramidal neurons in the networkdendriteRange
- Range of dendrites per neuronf
- function to be calculated at the dendritesoneDim
- whether or not terminations to the network are unidimensional or multidimensionalLIFDendrites
- Use LIF dendrites?spikingLIFDendrites
- Use spiking LIF dendrites?
StructuralException
- if name isn't uniquepublic PyramidalNetwork(java.lang.String name, int dim, int size, IndicatorPDF dendriteRange, java.lang.String f, boolean oneDim) throws StructuralException
name
- Name of the networkdim
- Dimensions of the networksize
- Number of pyramidal neurons in the networkdendriteRange
- Range of dendrites per neuronf
- function to be calculated at the dendritesoneDim
- whether or not terminations to the network are unidimensional or multidimensional
StructuralException
- if name is takenpublic PyramidalNetwork(java.lang.String name, int dim, int size, IndicatorPDF dendriteRange, java.lang.String f) throws StructuralException
name
- Name of the networkdim
- Dimensions of the networksize
- Number of pyramidal neurons in the networkdendriteRange
- Range of dendrites per neuronf
- function to be calculated at the dendrites
StructuralException
- if name isn't uniquepublic PyramidalNetwork(java.lang.String name, int dim, int size, IndicatorPDF dendriteRange) throws StructuralException
name
- Name of the networkdim
- Dimensions of the networksize
- Number of pyramidal neurons in the networkdendriteRange
- Range of dendrites per neuron
StructuralException
- if name isn't uniquepublic PyramidalNetwork(java.lang.String name, int dim, int size) throws StructuralException
name
- Name of the networkdim
- Dimensions of the networksize
- Number of pyramidal neurons in the network
StructuralException
- if name isn't uniquepublic PyramidalNetwork(java.lang.String name, int dim) throws StructuralException
name
- Name of the networkdim
- Dimensions of the network
StructuralException
- if name isn't uniquepublic PyramidalNetwork(java.lang.String name) throws StructuralException
name
- Name of the network
StructuralException
- if name isn't uniquepublic PyramidalNetwork() throws StructuralException
StructuralException
- if name isn't uniqueMethod Detail |
---|
public void makeNetwork() throws StructuralException
StructuralException
- if name isn't uniquepublic NEFEnsemble getDendrites(int index)
index
- index number of dendritic tree
public java.lang.String getName()
getName
in interface Node
getName
in class NetworkImpl
Node.getName()
public void createFunctionOriginDendrites() throws StructuralException
StructuralException
- if decoded origin already existspublic float getRange(int index)
index
- dendrite ensemble for which range is being returned
public float[] getScales(int index)
index
- index number for dendritic ensemble
public Origin getOrigin() throws StructuralException
StructuralException
- if origin doesn't existpublic void addDecodedTermination(java.lang.String name, float[][] transform, float tauPSC, boolean modulatory) throws StructuralException
name
- Name of the terminationtransform
- Weight matrix for the terminationtauPSC
- PSC time constantmodulatory
- Modulatory?
StructuralException
- if termination already existspublic void addOneDimTermination(java.lang.String name, int dimension, float transform) throws StructuralException
name
- Name of the terminationdimension
- Dimension for input to be stored intransform
- Transform for input value
StructuralException
- if termination existspublic void addOneDimTermination(java.lang.String name, int dimension) throws StructuralException
name
- Name of the terminationdimension
- Dimension input values are to be stored in
StructuralException
- if termination existspublic NEFEnsemble getSoma()
|
Nengo.ca | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |