AnimatLab  2
Test
PacemakerNeuron.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 
10 namespace FiringRateSim
11 {
12  namespace Neurons
13  {
14 
15  class FAST_NET_PORT PacemakerNeuron : public Neuron
16  {
17  protected:
19  float m_fltIl;
20 
22  float m_fltIh;
23 
25  float m_fltVssm;
26 
28  float m_fltMtl;
29 
31  float m_fltBtl;
32 
34  float m_fltTh;
35 
37  float m_fltITime;
38 
41 
43  float m_fltVss;
44 
46  unsigned char m_iIntrinsicType;
47 
48  void HighCurrentOn();
49  void LowCurrentOn(float fltVss);
50 
51  virtual float CalculateIntrinsicCurrent(FiringRateModule *lpModule, float fltInputCurrent);
52 
53  public:
55  virtual ~PacemakerNeuron();
56 
57  float Il();
58  void Il(float fltVal);
59 
60  float Ih();
61  void Ih(float fltVal);
62 
63  float Vssm();
64  void Vssm(float fltVal);
65 
66  float Mtl();
67  void Mtl(float fltVal);
68 
69  float Btl();
70  void Btl(float fltVal);
71 
72  float Th();
73  void Th(float fltVal);
74 
75  float ITime();
76  void ITime(float fltVal);
77 
78  unsigned char IntrinsicType();
79  void IntrinsicType(unsigned char iVal);
80 
81  virtual unsigned char NeuronType();
82 
83  virtual void Copy(CStdSerialize *lpSource);
84 
85  virtual void ResetSimulation();
86  virtual void StepSimulation();
87 
88  virtual float *GetDataPointer(const std::string &strDataType);
89  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
90  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
91 
92 #pragma region SnapshotMethods
93  virtual long CalculateSnapshotByteSize();
94  virtual void SaveKeyFrameSnapshot(byte *aryBytes, long &lIndex);
95  virtual void LoadKeyFrameSnapshot(byte *aryBytes, long &lIndex);
96 #pragma endregion
97 
98  virtual void Load(CStdXml &oXml);
99  };
100 
101  } //Neurons
102 } //FiringRateSim
float m_fltVss
The steady state voltage.
Firing rate neural module.
float m_fltITime
Time that the current intrinsic current mode is active.
float m_fltBtl
The intercept of the linear function that is used to calculate the length of time that Il current rem...
unsigned char m_iIntrinsicType
Type of the intrinsic current that is active. (HI or LOW)
float m_fltVssm
A lower steady state threshold. If the steady state voltage of the neuron goes below this value then ...
float m_fltInterburstInterval
The interburst interval.
float m_fltIl
The hyperpolarizing current that brings the membrane potential back down after it has been firing...
Firing Rate Neuron model.
float m_fltTh
This is the length of time that the Ih current remains active.
float m_fltMtl
The slope of the linear function that is used to calculate the length of time that Il current remains...
Contains the classes for a firing rate neural model.
float m_fltIh
The slope of the linear function that is used to calculate the length of time that Il current remains...