Class CompartmentalDendrite
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.models.networks.components.AbstractNetworkComponent
mgui.neuro.components.AbstractNeuroComponent
mgui.neuro.components.compartments.CompartmentalComponent
mgui.neuro.components.compartments.NeuronalCompartmentalComponent
mgui.neuro.components.compartments.CompartmentalDendrite
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Comparable<DynamicModelComponent>
,AttributeListener
,AttributeObject
,InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
,DynamicModelComponent
,TimeStepListener
,Updateable
,Dendrite
,NeuronalComponent
public class CompartmentalDendrite extends NeuronalCompartmentalComponent implements Dendrite
Represents a dendrite whose activity is determined by the cable model (see Rawl etc.)
and a compartmental discrete (numerical) approximation of its differential functions.
See CompartmentalComponent.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields Modifier and Type Field Description CompartmentalDendrite
next
CompartmentalSoma
soma
java.util.ArrayList<Synapse>
synapses
Fields inherited from class mgui.neuro.components.compartments.NeuronalCompartmentalComponent
parent
Fields inherited from class mgui.neuro.components.compartments.CompartmentalComponent
compartments
Fields inherited from class mgui.neuro.components.AbstractNeuroComponent
attributes, clock, connections, events, hasSubComponents, id, listeners, solver, updated
Fields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes
-
Constructor Summary
Constructors Constructor Description CompartmentalDendrite()
CompartmentalDendrite(int n, double Rm, double Ra, double Cm, double length, double diameter)
-
Method Summary
Modifier and Type Method Description void
addSynapse(Synapse s)
void
connectTo(Dendrite d)
void
connectTo(Soma s)
void
disconnect()
double
getCm()
double
getDiam()
double
getLength()
double
getRa()
double
getRm()
int
getSynapseCount()
java.util.ArrayList<Synapse>
getSynapses()
protected void
init()
boolean
isConnectedToDendrite()
boolean
isConnectedToSoma()
void
removeSynapse(Synapse s)
void
setCompartments()
Set/reset list of compartments to size Nvoid
setParent(Neuron n)
void
transmit(AbstractCompartment c1, AbstractCompartment c2)
Transmit signals between compartments; should update appropriate state and/or temporary variables.Methods inherited from class mgui.neuro.components.compartments.NeuronalCompartmentalComponent
getParent
Methods inherited from class mgui.neuro.components.compartments.CompartmentalComponent
clone, executeEvent, getN, setN, timeElapsed
Methods inherited from class mgui.neuro.components.AbstractNeuroComponent
addConnection, addEvent, addListener, addToEngine, attributeUpdated, compareTo, executeEvents, fireListeners, fireListeners, getAttribute, getAttributes, getConnections, getDelay, getID, getName, getODESolver, getRate, getSolver, getSubComponents, hasSubComponents, removeConnection, removeListener, reset, resetClock, setAttribute, setAttributes, setDelay, setID, setID, setName, setODESolver, setSolver, setSolver, updateComponent, updateFromClock
Methods inherited from class mgui.models.networks.components.AbstractNetworkComponent
getAttributeValue
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getTreeLabel, isDestroyed, issueTreeNode, setTreeNode, updateTreeNodes
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface mgui.interfaces.util.CleanableObject
clean
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface mgui.models.dynamic.DynamicModelComponent
addConnection, addEvent, addToEngine, clone, executeEvents, getID, getSubComponents, hasSubComponents, removeConnection, reset, setID, setID
Methods inherited from interface mgui.interfaces.InterfaceObject
destroy, isDestroyed
Methods inherited from interface mgui.interfaces.NamedObject
getName, setName
Methods inherited from interface mgui.neuro.components.NeuronalComponent
getParent
Methods inherited from interface mgui.models.dynamic.TimeStepListener
timeElapsed
Methods inherited from interface mgui.interfaces.trees.TreeObject
getTreeLabel, issueTreeNode, setTreeNode
-
Field Details
-
synapses
-
next
-
soma
-
-
Constructor Details
-
CompartmentalDendrite
public CompartmentalDendrite() -
CompartmentalDendrite
public CompartmentalDendrite(int n, double Rm, double Ra, double Cm, double length, double diameter)
-
-
Method Details
-
init
protected void init()- Overrides:
init
in classCompartmentalComponent
-
setCompartments
public void setCompartments()Description copied from class:CompartmentalComponent
Set/reset list of compartments to size N- Specified by:
setCompartments
in classCompartmentalComponent
-
getRm
public double getRm() -
getRa
public double getRa() -
getCm
public double getCm() -
getLength
public double getLength() -
getDiam
public double getDiam() -
addSynapse
- Specified by:
addSynapse
in interfaceDendrite
- Throws:
NeuroException
-
connectTo
- Specified by:
connectTo
in interfaceDendrite
- Throws:
NeuroException
-
connectTo
- Specified by:
connectTo
in interfaceDendrite
- Throws:
NeuroException
-
disconnect
public void disconnect()- Specified by:
disconnect
in interfaceDendrite
-
getSynapseCount
public int getSynapseCount()- Specified by:
getSynapseCount
in interfaceDendrite
-
getSynapses
- Specified by:
getSynapses
in interfaceDendrite
-
setParent
- Specified by:
setParent
in interfaceNeuronalComponent
- Overrides:
setParent
in classNeuronalCompartmentalComponent
- Throws:
NeuroException
-
isConnectedToDendrite
public boolean isConnectedToDendrite()- Specified by:
isConnectedToDendrite
in interfaceDendrite
-
isConnectedToSoma
public boolean isConnectedToSoma()- Specified by:
isConnectedToSoma
in interfaceDendrite
-
removeSynapse
- Specified by:
removeSynapse
in interfaceDendrite
-
transmit
Description copied from class:CompartmentalComponent
Transmit signals between compartments; should update appropriate state and/or temporary variables.- Specified by:
transmit
in classCompartmentalComponent
- Throws:
NeuroException
-