41 #pragma region Accessor-Mutators
125 #pragma region DataAccesMethods
131 if(AnimatBase::SetData(strDataType, strValue,
false))
134 if(strType ==
"EQUILIBRIUMPOTENTIAL")
140 if(strType ==
"MAXSYNAPTICCONDUCTANCE")
146 if(strType ==
"PRESYNAPTICTHRESHOLD")
152 if(strType ==
"PRESYNAPTICSATURATIONLEVEL")
160 THROW_PARAM_ERROR(Al_Err_lInvalidDataType, Al_Err_strInvalidDataType,
"Data Type", strDataType);
165 void NonSpikingChemicalSynapse::QueryProperties(CStdPtrArray<TypeProperty> &aryProperties)
167 AnimatBase::QueryProperties(aryProperties);
169 aryProperties.Add(
new TypeProperty(
"EquilibriumPotential", AnimatPropertyType::Float, AnimatPropertyDirection::Set));
170 aryProperties.Add(
new TypeProperty(
"MaxSynapticConductance", AnimatPropertyType::Float, AnimatPropertyDirection::Set));
171 aryProperties.Add(
new TypeProperty(
"PreSynapticThreshold", AnimatPropertyType::Float, AnimatPropertyDirection::Set));
172 aryProperties.Add(
new TypeProperty(
"PreSynapticSaturationLevel", AnimatPropertyType::Float, AnimatPropertyDirection::Set));
177 void NonSpikingChemicalSynapse::Load(CStdXml &oXml)
179 AnimatBase::Load(oXml);
double PreSynapticSaturationLevel()
Gets the pre-synaptic saturation level.
double m_dEquil
The equilibruim potential.
double m_dThreshV
The threshold voltage.
double MaxSynapticConductance()
Gets the maximum synaptic conductance.
virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError=true)
Set a variable based on a string data type name.
NonSpikingChemicalSynapse()
Default constructor.
double EquilibriumPotential()
Gets the equilibrium potential.
double m_dSynAmp
base syn amp, before vd or hebb
virtual ~NonSpikingChemicalSynapse()
Destructor.
double PreSynapticThreshold()
Gets the pre-synaptic threshold.
Declares the synapse type class.
double m_dSaturateV
The saturation voltage.
std::string Std_CheckString(std::string strVal)
Converts a string to upper case and trims it.
Contains all of the classes to implement a basic integrate and fire neural model. ...
Declares the non spiking chemical synapse class.