#include <GABA_BResponseODE.h>
Public Member Functions | |
GABA_BResponseODE () | |
virtual | ~GABA_BResponseODE () |
virtual int | reset (double dt) |
Called at the beginning of a simulation at t=0. | |
virtual void | derivatives (double t, const double y[], double f[]) |
virtual int | advance (AdvanceInfo const &ai) |
Calculate the next state and output/propagate the result to succesors/outgoing objects. | |
virtual int | spikeHit (spikeport_t port, SpikeEvent const &spike) |
virtual int | psrLength (double dt) const |
The lengh of the postsynaptic response (in time steps). | |
Public Attributes | |
double | k1 |
Binding rate for transmitter substance in the cleft to receptors [range=(0,1); units=ms^-1;]. | |
double | k2 |
Unbinding rate for the transmitter substance to the receptors. | |
double | k3 |
Binding rate for the G-proteins to the K+ channel. | |
double | k4 |
Unbinding rate for the G-proteins to the K+ channel. | |
double | kd |
Dissociation constant of binding G-protein to K+ channels. | |
double | Cmax |
max. amount of Transmitter in the synaptic cleft | |
double | Cdur |
Transmitter duration. | |
double | dead_time |
min. time between release events | |
int | n |
Number of individual binding sites for the G-protein in a singel K+ channel. | |
double | r |
Fraction of activated receptors. | |
double | s |
Concentration of G-proteins binded to K+ channels. | |
double | C |
double | time_count |
double | g_max |
Protected Member Functions | |
int | init () |
Protected Attributes | |
odeiv::Solver * | solver |
A solver for the differential equations. | |
double | y [2] |
Definition at line 12 of file GABA_BResponseODE.h.
GABA_BResponseODE::GABA_BResponseODE | ( | ) |
GABA_BResponseODE::~GABA_BResponseODE | ( | ) | [virtual] |
Called at the beginning of a simulation at t=0.
Reimplemented from FiniteSpikeResponse.
Definition at line 37 of file GABA_BResponseODE.cpp.
References C, dead_time, init(), FiniteSpikeResponse::psr, r, FiniteSpikeResponse::reset(), odeiv::Solver::reset(), s, solver, time_count, and y.
Implements odeiv::ODESystem.
Definition at line 61 of file GABA_BResponseODE.cpp.
References C, k1, k2, k3, k4, r, s, solver, and odeiv::Solver::y().
int GABA_BResponseODE::advance | ( | AdvanceInfo const & | ) | [virtual] |
Calculate the next state and output/propagate the result to succesors/outgoing objects.
The return value of advance contains several bits of information which can be decoded with the bit masks ADVANCEFLAG_* like ADVANCEFLAG_HASSPIKED and ADVANCEFLAG_DEACTIVATE.
Reimplemented from SimObject.
Reimplemented in GenericConductanceBasedSpikingSynapse< GABA_BResponseODE >.
Definition at line 75 of file GABA_BResponseODE.cpp.
References odeiv::Solver::advance(), FiniteSpikeResponse::advanceReturn(), C, AdvanceInfo::dt, g_max, Time::in_sec(), kd, n, FiniteSpikeResponse::psr, r, s, solver, AdvanceInfo::t, time_count, and odeiv::Solver::y().
int GABA_BResponseODE::spikeHit | ( | spikeport_t | port, | |
SpikeEvent const & | spike | |||
) | [virtual] |
Function to be called if the object is hit by a spike Called by spike exchange mechanims if a spike hits (arrives at) the object A return value of greater 0 indicates that the object is currently not active and the sim engine has to put this object into its list of active spike receivers. A return value of 0 indicates the the object is currently active (i.e. is already in the list of active receviers) and need not to be put into the list of active synapses.
Reimplemented from SimObject.
Reimplemented in GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< GABA_BResponseODE > >.
Definition at line 93 of file GABA_BResponseODE.cpp.
References C, Cdur, Cmax, dead_time, SpikeEvent::dt, FiniteSpikeResponse::spikeHitReturn(), and time_count.
The lengh of the postsynaptic response (in time steps).
Implements FiniteSpikeResponse.
Definition at line 110 of file GABA_BResponseODE.cpp.
References PSR_MULTIPLE_TAU.
int GABA_BResponseODE::init | ( | ) | [protected] |
Definition at line 28 of file GABA_BResponseODE.cpp.
References odeiv::ODESystem::setSystem(), and solver.
Referenced by reset().
Binding rate for transmitter substance in the cleft to receptors [range=(0,1); units=ms^-1;].
Definition at line 19 of file GABA_BResponseODE.h.
Referenced by derivatives(), GABA_BResponseODE(), and GABA_BSynapseODE::GABA_BSynapseODE().
Unbinding rate for the transmitter substance to the receptors.
Definition at line 21 of file GABA_BResponseODE.h.
Referenced by derivatives(), GABA_BResponseODE(), and GABA_BSynapseODE::GABA_BSynapseODE().
Binding rate for the G-proteins to the K+ channel.
Definition at line 24 of file GABA_BResponseODE.h.
Referenced by derivatives(), GABA_BResponseODE(), and GABA_BSynapseODE::GABA_BSynapseODE().
Unbinding rate for the G-proteins to the K+ channel.
Definition at line 26 of file GABA_BResponseODE.h.
Referenced by derivatives(), GABA_BResponseODE(), and GABA_BSynapseODE::GABA_BSynapseODE().
Dissociation constant of binding G-protein to K+ channels.
Definition at line 29 of file GABA_BResponseODE.h.
Referenced by advance(), GABA_BResponseODE(), and GABA_BSynapseODE::GABA_BSynapseODE().
max. amount of Transmitter in the synaptic cleft
Definition at line 32 of file GABA_BResponseODE.h.
Referenced by GABA_BResponseODE(), GABA_BSynapseODE::GABA_BSynapseODE(), and spikeHit().
Transmitter duration.
Definition at line 35 of file GABA_BResponseODE.h.
Referenced by GABA_BResponseODE(), GABA_BSynapseODE::GABA_BSynapseODE(), and spikeHit().
min. time between release events
Definition at line 38 of file GABA_BResponseODE.h.
Referenced by GABA_BResponseODE(), GABA_BSynapseODE::GABA_BSynapseODE(), reset(), and spikeHit().
Number of individual binding sites for the G-protein in a singel K+ channel.
Definition at line 41 of file GABA_BResponseODE.h.
Referenced by advance(), GABA_BResponseODE(), and GABA_BSynapseODE::GABA_BSynapseODE().
Fraction of activated receptors.
Definition at line 44 of file GABA_BResponseODE.h.
Referenced by advance(), derivatives(), and reset().
Concentration of G-proteins binded to K+ channels.
Definition at line 47 of file GABA_BResponseODE.h.
Referenced by advance(), derivatives(), and reset().
Definition at line 61 of file GABA_BResponseODE.h.
Referenced by advance(), derivatives(), reset(), and spikeHit().
Definition at line 63 of file GABA_BResponseODE.h.
Referenced by advance(), reset(), and spikeHit().
Definition at line 65 of file GABA_BResponseODE.h.
Referenced by advance(), and GABA_BSynapseODE::GABA_BSynapseODE().
odeiv::Solver* GABA_BResponseODE::solver [protected] |
A solver for the differential equations.
Definition at line 71 of file GABA_BResponseODE.h.
Referenced by advance(), derivatives(), GABA_BResponseODE(), init(), reset(), and ~GABA_BResponseODE().
double GABA_BResponseODE::y[2] [protected] |