openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "ap_analyzer.h"
#include "basics.h"
Go to the source code of this file.
Namespaces | |
limpet | |
Macros | |
#define | BOGUS 9999 |
#define | NUM_STEADY_APs 5 |
#define | SS_PERC_ERR 0.01 |
Typedefs | |
typedef enum limpet::_act_events | limpet::act_events |
typedef enum limpet::_repol_events | limpet::repol_events |
typedef enum limpet::_ampl_events | limpet::ampl_events |
Enumerations | |
enum | limpet::_act_events { limpet::xAPD90, limpet::VmDotMx, limpet::nActEvents } |
enum | limpet::_repol_events { limpet::APD90, limpet::APD30, limpet::nRepolEvents } |
enum | limpet::_ampl_events { limpet::VmMX, limpet::VmMN, limpet::nAmplEvents } |
Functions | |
void | limpet::shift_vm_trace (double vm, action_potential *AP, timer_manager *tm) |
bool | limpet::check_threshold (ap_event *e, timer_manager *tm) |
bool | limpet::check_mx_rate (ap_event *e, timer_manager *tm) |
bool | limpet::check_mx_val (ap_event *e, timer_manager *tm) |
bool | limpet::update_steady_state (action_potential *AP) |
void | limpet::print_AP_stats (action_potential *AP) |
int | limpet::initialize_AP_analysis (action_potential *AP) |
void | limpet::cleanup_AP_analysis (action_potential *AP) |
void | limpet::calibrate_thresholds (action_potential *AP) |
bool | limpet::check_events (double vm, action_potential *AP, timer_manager *tm) |
bool | limpet::check_steady_state (steady_state_ap *ss) |
void | limpet::print_AP_stats_header (action_potential *AP, FILE *outbuf) |
Provide routines for analyzing action potentials for statistical purposes
To use action potential analysis functions provided in here
check_events() has to be called prior to calling compute_ionic_current The routines inhere are intended for use with bench only, they cannot be used with tissue level codes. The routines could be extended to work with tissue level code, however, a major rewrite would be required to be more memory efficient.
Definition in file ap_analyzer.cc.
#define BOGUS 9999 |
#define NUM_STEADY_APs 5 |
#define SS_PERC_ERR 0.01 |