public class PyramidalNetwork extends NetworkImpl
Modifier and Type | Class and Description |
---|---|
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
|
NetworkImpl.OriginWrapper, NetworkImpl.TerminationWrapper
VisiblyMutable.Event, VisiblyMutable.Listener, VisiblyMutable.NameChangeEvent, VisiblyMutable.NodeRemovedEvent
DEFAULT_NAME, myNumGPU, myNumJavaThreads, myUseGPU
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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
|
addChangeListener, addNode, addProjection, addStepListener, addTasks, changed, clone, countNeurons, dumpToScript, dumpToScript, exposeOrigin, exposeState, exposeTermination, fireStepListeners, fixMode, fixMode, getChildren, getDocumentation, getExposedOriginName, getExposedTerminationName, getHistory, getMetadata, getMetaData, getMode, getNeuronCount, getNode, getNodeCount, getNodeOrigins, getNodes, getNodeTerminations, getOrigin, getOrigins, getProjectionMap, getProjections, getSimulator, getStepSize, getTasks, getTermination, getTerminations, getUseGPU, hideOrigin, hideState, hideTermination, killNeurons, killNeurons, listStates, notifyAboutDeletion, removeChangeListener, removeNode, removeProjection, removeStepListener, reset, run, run, setDocumentation, setMetadata, setMetaData, setMode, setMyMode, setName, setSimulator, setStepSize, setTasks, setTime, setUseGPU, toPostScript, toScript
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 multidimensionalStructuralException
- 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 dendritesStructuralException
- 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 neuronStructuralException
- 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 networkStructuralException
- if name isn't uniquepublic PyramidalNetwork(java.lang.String name, int dim) throws StructuralException
name
- Name of the networkdim
- Dimensions of the networkStructuralException
- if name isn't uniquepublic PyramidalNetwork(java.lang.String name) throws StructuralException
name
- Name of the networkStructuralException
- if name isn't uniquepublic PyramidalNetwork() throws StructuralException
StructuralException
- if name isn't uniquepublic void makeNetwork() throws StructuralException
StructuralException
- if name isn't uniquepublic NEFEnsemble getDendrites(int index)
index
- index number of dendritic treepublic 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 returnedpublic float[] getScales(int index)
index
- index number for dendritic ensemblepublic 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 valueStructuralException
- 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 inStructuralException
- if termination existspublic NEFEnsemble getSoma()