|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
#include <Lapicque.h>
Public Member Functions | |
| Lapicque (opencarp::timer_manager *to, float pmin, float pmax, int np, float tol, float delay) | |
| constructor More... | |
| bool | check (bool fire, float &, int, int) |
| check if the Lapicque curve is finished and update current More... | |
| void | print (std::ostream &) |
| bool | init (int, int) |
| initial first step More... | |
Definition at line 12 of file Lapicque.h.
| Lapicque::Lapicque | ( | opencarp::timer_manager * | to, |
| float | pmin, | ||
| float | pmax, | ||
| int | np, | ||
| float | tol, | ||
| float | delay | ||
| ) |
constructor
| to | timer manager |
| pmin | minimum pulse duration |
| pmax | maximum pulse duration |
| np | number of pulse durations |
| tol | stopping criterion |
| delay | time after pulse end to check for AP |
Definition at line 17 of file Lapicque.cc.
| bool Lapicque::check | ( | bool | fire, |
| float & | curr, | ||
| int | doppind, | ||
| int | stimind | ||
| ) |
check if the Lapicque curve is finished and update current
| fire | true if an action potential fired at this current |
| curr | test value of current |
| doppind | index of DOPPLE timer |
| stimind | index of stimulus timer |
curr is adjusted closer to the thresholdreturn true iff thresholds found for all widths
Definition at line 45 of file Lapicque.cc.
| bool Lapicque::init | ( | int | doppind, |
| int | stimind | ||
| ) |
initial first step
| doppind | Dopple timer index |
| stimind | index of stimulus timer |
Definition at line 87 of file Lapicque.cc.
| void Lapicque::print | ( | std::ostream & | ofs | ) |