#include <SynChan.h>
Public Member Functions | |
SynChan () | |
~SynChan () | |
void | setTau1 (double tau1) |
double | getTau1 () const |
void | setTau2 (double tau2) |
double | getTau2 () const |
void | setNormalizeWeights (bool value) |
bool | getNormalizeWeights () const |
void | vSetGbar (const Eref &e, double Gbar) |
void | normalizeGbar () |
double | calcGk () |
Update alpha function terms for synaptic channel. | |
void | vProcess (const Eref &e, ProcPtr p) |
void | vReinit (const Eref &e, ProcPtr p) |
void | activation (double val) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Protected Attributes | |
double | tau1_ |
double | tau2_ |
int | normalizeWeights_ |
double | xconst1_ |
double | yconst1_ |
double | xconst2_ |
double | yconst2_ |
double | norm_ |
double | activation_ |
double | X_ |
double | Y_ |
double | dt_ |
SynChan::SynChan | ( | ) |
SynChan::~SynChan | ( | ) |
void SynChan::activation | ( | double | val | ) |
References activation_.
Referenced by initCinfo().
double SynChan::calcGk | ( | ) |
Update alpha function terms for synaptic channel.
Utility function used to do the alpha function calculations for Gk. Separated out for convenience so that derived classes can use.
References activation_, ChanCommon::getModulation(), norm_, X_, xconst1_, xconst2_, Y_, yconst1_, and yconst2_.
Referenced by vProcess(), and NMDAChan::vProcess().
bool SynChan::getNormalizeWeights | ( | ) | const |
References normalizeWeights_.
Referenced by initCinfo().
double SynChan::getTau1 | ( | ) | const |
References tau1_.
Referenced by initCinfo().
double SynChan::getTau2 | ( | ) | const |
References tau2_.
Referenced by initCinfo().
const Cinfo * SynChan::initCinfo | ( | ) | [static] |
Override base class function for spike handling
Reimplemented from ChanCommon.
Reimplemented in NMDAChan.
References activation(), getNormalizeWeights(), getTau1(), getTau2(), ChanBase::initCinfo(), setNormalizeWeights(), setTau1(), and setTau2().
Referenced by NMDAChan::initCinfo().
void SynChan::normalizeGbar | ( | ) |
References doubleEq(), ChanCommon::getGbar(), norm_, SynE(), tau1_, and tau2_.
Referenced by setTau1(), setTau2(), vReinit(), and vSetGbar().
void SynChan::setNormalizeWeights | ( | bool | value | ) |
References normalizeWeights_.
Referenced by initCinfo().
void SynChan::setTau1 | ( | double | tau1 | ) |
References dt_, normalizeGbar(), tau1_, xconst1_, and xconst2_.
Referenced by initCinfo().
void SynChan::setTau2 | ( | double | tau2 | ) |
References doubleEq(), dt_, normalizeGbar(), tau2_, yconst1_, and yconst2_.
Referenced by initCinfo().
Implements ChanBase.
Reimplemented in NMDAChan.
References calcGk(), ChanCommon::sendProcessMsgs(), ChanBase::setGk(), and ChanCommon::updateIk().
Implements ChanBase.
Reimplemented in NMDAChan.
References activation_, doubleEq(), ProcInfo::dt, dt_, normalizeGbar(), ChanCommon::sendReinitMsgs(), ChanBase::setGk(), ChanBase::setIk(), tau1_, tau2_, X_, xconst1_, xconst2_, Y_, yconst1_, and yconst2_.
void SynChan::vSetGbar | ( | const Eref & | e, | |
double | Gbar | |||
) | [virtual] |
Reimplemented from ChanCommon.
References normalizeGbar().
double SynChan::activation_ [protected] |
Referenced by activation(), calcGk(), and vReinit().
double SynChan::dt_ [protected] |
double SynChan::norm_ [protected] |
Referenced by calcGk(), and normalizeGbar().
int SynChan::normalizeWeights_ [protected] |
Referenced by getNormalizeWeights(), and setNormalizeWeights().
double SynChan::tau1_ [protected] |
Referenced by getTau1(), normalizeGbar(), setTau1(), and vReinit().
double SynChan::tau2_ [protected] |
Referenced by getTau2(), normalizeGbar(), setTau2(), and vReinit().
double SynChan::X_ [protected] |
double SynChan::xconst1_ [protected] |
double SynChan::xconst2_ [protected] |
double SynChan::Y_ [protected] |
double SynChan::yconst1_ [protected] |
double SynChan::yconst2_ [protected] |