00001 #ifndef _AHP_CHANNEL_H_ 00002 #define _AHP_CHANNEL_H_ 00003 00004 #include "ionchannel.h" 00005 00006 00008 /* AHP model with constant activation gating function and 00009 ** constant step increase of the calcium concentration 00010 ** 00011 ** See: 00012 ** Fuhrmann G, Markram H, Tsodyks M. 00013 ** Spike frequency adaptation and neocortical rhythms. 00014 ** J Neurophysiol. 2002 Aug;88(2):761-70. 00015 */ 00016 class AHP_Channel : public IonChannel { 00017 00018 DO_REGISTERING 00019 00020 public: 00021 00022 AHP_Channel(void); 00023 00024 virtual ~AHP_Channel(void) {}; 00025 00026 virtual void reset(void); 00027 00028 virtual int updateInternal(void); 00029 00030 virtual int advance(void); 00031 00032 virtual void membraneSpikeNotify(double ); 00033 00034 virtual int addIncoming(Advancable *Incoming); 00035 00036 virtual int addOutgoing(Advancable *Outgoing); 00037 00039 float Gbar; 00040 00042 float n; 00043 00045 float u; 00046 00048 float Ts; 00049 00050 protected: 00051 00053 float C1; 00054 00055 private: 00056 00057 }; 00058 00059 00060 00061 00062 #endif