AnimatLab  2
Test
BistableNeuron.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace FiringRateSim
10 {
11  namespace Neurons
12  {
23  class FAST_NET_PORT BistableNeuron : public Neuron
24  {
25  protected:
28 
30  float m_fltVsthi;
31 
33  float m_fltVsth;
34 
36  float m_fltIl;
37 
39  float m_fltIh;
40 
41  virtual float CalculateIntrinsicCurrent(FiringRateModule *lpModule, float fltInputCurrent);
42 
43  public:
45  virtual ~BistableNeuron();
46 
47  float Vsthi();
48  void Vsthi(float fltVal);
49 
50  float IntrinsicCurrent();
51  void IntrinsicCurrent(float fltVal);
52 
53  float Il();
54  void Il(float fltVal);
55 
56  float Ih();
57  void Ih(float fltVal);
58 
59  virtual unsigned char NeuronType();
60 
61  virtual void Copy(CStdSerialize *lpSource);
62 
63  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
64  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
65  virtual void ResetSimulation();
66  virtual void StepSimulation();
67 
68  virtual void Load(CStdXml &oXml);
69  };
70 
71  } //Neurons
72 } //FiringRateSim
float m_fltVsthi
The initial switch threshold voltage.
Firing rate neural module.
float m_fltIntrinsic
The active intrinsic current.
Bistable firing rate neuron.
Firing Rate Neuron model.
Contains the classes for a firing rate neural model.
float m_fltVsth
The siwtch threshold voltage.