|
|||||||||
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 |
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)
|
java.lang.String |
getName()
|
Origin |
getOrigin()
|
float |
getRange(int index)
for testing purposes |
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 ca.nengo.model.impl.NetworkImpl |
---|
addChangeListener, addNode, addProjection, changed, clone, exposeOrigin, exposeState, exposeTermination, fixMode, getDocumentation, getExposedOriginName, getExposedTerminationName, getHistory, getMetaData, getMode, getNode, getNodeOrigins, getNodes, getNodeTerminations, getOrigin, getOrigins, getProjections, getSimulator, getStepSize, getTermination, getTerminations, hideOrigin, hideState, hideTermination, killNeurons, killNeurons, listStates, removeChangeListener, removeNode, removeProjection, reset, run, run, setDocumentation, setMetaData, setMode, setMyMode, setName, setSimulator, setStepSize |
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 networksubRange
- Range of dendrites per neuronf
- function to be calculated at the dendritesoneDim
- whether or not terminations to the network are unidimensional or multidimensionaltestNum
- 1:sigmoid dendrites, 2: LIF rate mode dendrites, 3: LIF spiking mode dendrites
StructuralException
public PyramidalNetwork(java.lang.String name, int dim, int size, IndicatorPDF dendriteRange, java.lang.String f, boolean oneDim) throws StructuralException
StructuralException
public 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 networksubRange
- Range of dendrites per neuronf
- function to be calculated at the dendrites
StructuralException
public 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 networksubRange
- Range of dendrites per neuron
StructuralException
public 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
public PyramidalNetwork(java.lang.String name, int dim) throws StructuralException
name
- Name of the networkdim
- Dimensions of the network
StructuralException
public PyramidalNetwork(java.lang.String name) throws StructuralException
name
- Name of the network
StructuralException
public PyramidalNetwork() throws StructuralException
StructuralException
Method Detail |
---|
public void makeNetwork() throws StructuralException
StructuralException
public NEFEnsemble getDendrites(int index)
index
- index number of dendritic tree
mainly used for testing purposes when trying to find proper scale values
public java.lang.String getName()
getName
in interface Node
getName
in class NetworkImpl
Node.getName()
public void createFunctionOriginDendrites() throws StructuralException
StructuralException
public 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
public void addDecodedTermination(java.lang.String name, float[][] transform, float tauPSC, boolean modulatory) throws StructuralException
name
- Name of the terminationtransform
- Weight matrix for the terminationtauPSC
- modulatory
-
StructuralException
public 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
public void addOneDimTermination(java.lang.String name, int dimension) throws StructuralException
name
- Name of the terminationdimension
- Dimension input values are to be stored in
StructuralException
public NEFEnsemble getSoma()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |