NEST main@f146f75
Loading...
Searching...
No Matches
nest::K Class Reference

Channel taken from the following .mod file: https://modeldb.science/140828. More...

#include <cm_compartmentcurrents.h>

Public Member Functions

 K (double v_comp)
 K (double v_comp, const Dictionary &channel_params)
 ~K ()
void init_statevars (double v_init)
void pre_run_hook ()
void append_recordables (std::map< std::string, double * > *recordables, const long compartment_idx)
 make the state variables of this channel accessible
std::pair< double, double > compute_statevar_n (double v_comp)
 compute state variable time scale and asymptotic values
std::pair< double, double > f_numstep (const double v_comp)
 advance channel by one numerical integration step

Private Attributes

double n_K_ = 0.0
 state variables potassium channel
double gbar_K_
 user-defined parameters potassium channel (maximal conductance, reversal potential)
double e_K_
double q10_
 temperature factor for reaction rates

Detailed Description

Channel taken from the following .mod file: https://modeldb.science/140828.

Info in .mod file:

Potassium channel, Hodgkin-Huxley style kinetics Kinetic rates based roughly on Sah et al. and Hamill et al. (1991)

Author: Zach Mainen, Salk Institute, 1995, zach@.nosp@m.salk.nosp@m..edu

Constructor & Destructor Documentation

◆ K() [1/2]

nest::K::K ( double v_comp)

References e_K_, gbar_K_, init_statevars(), n_K_, and q10_.

Here is the call graph for this function:

◆ K() [2/2]

nest::K::K ( double v_comp,
const Dictionary & channel_params )
explicit

References e_K_, gbar_K_, init_statevars(), Dictionary::known(), n_K_, and q10_.

Here is the call graph for this function:

◆ ~K()

nest::K::~K ( )
inline

Member Function Documentation

◆ append_recordables()

void nest::K::append_recordables ( std::map< std::string, double * > * recordables,
const long compartment_idx )

make the state variables of this channel accessible

References n_K_.

◆ compute_statevar_n()

std::pair< double, double > nest::K::compute_statevar_n ( double v_comp)

compute state variable time scale and asymptotic values

Channel rate equations from the following .mod file: https://modeldb.science/140828

References q10_.

Referenced by f_numstep(), and init_statevars().

Here is the caller graph for this function:

◆ f_numstep()

std::pair< double, double > nest::K::f_numstep ( const double v_comp)

advance channel by one numerical integration step

References compute_statevar_n(), e_K_, gbar_K_, nest::Time::get_ms(), nest::Time::get_resolution(), and n_K_.

Here is the call graph for this function:

◆ init_statevars()

void nest::K::init_statevars ( double v_init)

References compute_statevar_n(), and n_K_.

Referenced by K(), and K().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pre_run_hook()

void nest::K::pre_run_hook ( )
inline

Member Data Documentation

◆ e_K_

double nest::K::e_K_
private

Referenced by f_numstep(), K(), and K().

◆ gbar_K_

double nest::K::gbar_K_
private

user-defined parameters potassium channel (maximal conductance, reversal potential)

Referenced by f_numstep(), K(), and K().

◆ n_K_

double nest::K::n_K_ = 0.0
private

state variables potassium channel

Referenced by append_recordables(), f_numstep(), init_statevars(), K(), and K().

◆ q10_

double nest::K::q10_
private

temperature factor for reaction rates

Referenced by compute_statevar_n(), K(), and K().


The documentation for this class was generated from the following files: