62 unsigned long m_ulSpikeTestTime;
73 long m_lTotalSpikesAdded;
75 CStdArray<long> m_arySpikeTimes;
77 virtual void LoadCells(CStdXml &oXml);
79 virtual void ProcessSpikes();
80 virtual void CalculateStepsPerTest();
82 virtual void MonitorSpikeEventFired(
int iGroupID,
int iNeuronID,
long lTimeIdx);
84 #ifndef STD_DO_NOT_ADD_BOOST
86 boost::signals2::connection m_MonitoredSpikeEvent;
98 virtual void PulseDecay(
float fltVal);
99 virtual float PulseDecay();
101 virtual void PulseCurrent(
float fltVal);
102 virtual float PulseCurrent();
104 virtual void Coverage(std::string strType);
106 virtual bool WholePopulation();
107 virtual void WholePopulation(
bool bVal);
109 virtual void Cells(std::string strXml);
121 #pragma region DataAccesMethods
122 virtual float *GetDataPointer(
const std::string &strDataType);
123 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
124 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
127 virtual void TimeStepModified();
128 virtual void VerifySystemPointers();
129 virtual void Initialize();
130 virtual void ResetSimulation();
131 virtual void StepSimulation();
132 virtual void Load(CStdXml &oXml);
Contains the classes for a firing rate neural model.
float m_fltDecrementCurrent
The amount by which the current is decremented each step.
float m_fltPulseDecay
The decay rate for which a current pulse.
CStdMap< int, int > m_aryCells
An array of neuron indices for individual neurons we want to stimulate.
float m_fltPulseSign
The sign of the current to apply for a single pulse.
int m_iStepsPerTestCount
Keeps track of how my steps we have take tiil we are ready to test again.
float m_fltAppliedCurrent
The actual applied current with sign.
boost::interprocess::interprocess_mutex m_AccessSpikes
mutex used to try and access matches variable.
float m_fltPulseTC
The exponential decay constant calculated from the time step and decay rate.
AnimatSim::Node * m_lpToNeuron
The pointer to post-synaptic neuron.
Base class for all link type objects. This is typically used for synapses.
CsNeuronGroup * m_lpFromNeuron
The pointer to pre-synaptic neuron.
std::string m_strToID
GUID ID of the pre-synaptic neruon.
Firing Rate Neuron model.
int m_iStepsPerTest
Keeps track of the number of steps till we need to test for spikes to process.
bool m_bWholePopulation
Tells whether this entire population is monitored or just individual cells.
Firing rate synapse model.
Base class for body parts and neural network nodes.
float m_fltCurrentMagnitude
The magnitude of the current applied to the target neuron.
std::string m_strFromID
GUID ID of the pre-synaptic neruon.
CsNeuronGroup * FromNeuron()
Gets the pre-synaptic neuron.
float m_fltPulseMagnitude
The magnitude amount of the current to apply for a single pulse.