16 static const double SynE = exp(1.0);
30 "Decay time constant for the synaptic conductance, tau1 >= tau2.",
35 "Rise time constant for the synaptic conductance, tau1 >= tau2.",
41 "Flag. If true, the overall conductance is normalized by the "
42 "number of individual synapses in this SynChan object.",
51 "Sometimes we want to continuously activate the channel",
55 static Finfo* SynChanFinfos[] =
66 "Author",
"Upinder S. Bhalla, 2007, 2014, NCBS",
67 "Description",
"SynChan: Synaptic channel incorporating "
68 " weight and delay. Does not handle actual arrival of synaptic "
69 " events, that is done by one of the derived classes of "
71 "In use, the SynChan sits on the compartment connected to it by "
72 "the **channel** message. One or more of the SynHandler "
73 "objects connects to the SynChan through the **activation** "
74 "message. The SynHandlers each manage multiple synapses, and "
75 "the handlers can be fixed weight or have a learning rule. "
80 static Cinfo SynChanCinfo(
84 sizeof( SynChanFinfos )/
sizeof(
Finfo *),
87 sizeof( doc )/
sizeof(
string )
97 tau1_( 1.0e-3 ), tau2_( 1.0e-3 ),
98 normalizeWeights_( 0 ),
void setIk(const Eref &e, double Ic)
static const Cinfo * initCinfo()
void vSetGbar(const Eref &e, double Gbar)
void setTau2(double tau2)
void log(string msg, serverity_level_ type=debug, bool redirectToConsole=true, bool removeTicks=true)
Log to console (and to a log-file)
void activation(double val)
bool getNormalizeWeights() const
void setNormalizeWeights(bool value)
void setGk(const Eref &e, double Gk)
bool doubleEq(double x, double y)
void setTau1(double tau1)
double getGbar() const
Utility function to acces Gbar.
double calcGk()
Update alpha function terms for synaptic channel.
void sendReinitMsgs(const Eref &e, const ProcPtr info)
double getModulation() const
void vProcess(const Eref &e, ProcPtr p)
void vReinit(const Eref &e, ProcPtr p)
void vSetGbar(const Eref &e, double Gbar)
void sendProcessMsgs(const Eref &e, const ProcPtr info)
static const Cinfo * synChanCinfo
static const Cinfo * initCinfo()
Specify the Class Info static variable for initialization.