00001
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef RA_ESTIMATE_CH_INFOS_H
00020 #define RA_ESTIMATE_CH_INFOS_H
00021
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025
00026 #include <ra.h>
00027
00028
00043 struct ra_est_ch_infos
00044 {
00045 char name_contains[50];
00046 long type;
00047 double mm_sec;
00048 double mm_unit;
00049 double offset;
00050
00051 int centered;
00052 double center_value;
00053
00054 int min_max;
00055 double min;
00056 double max;
00057 };
00058
00059
00060 static struct ra_est_ch_infos _inf[] = {
00061 {"ecg", RA_CH_TYPE_ECG, 50.0, 10.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00062 {"ekg", RA_CH_TYPE_ECG, 50.0, 10.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00063 {"V1", RA_CH_TYPE_ECG, 50.0, 10.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00064 {"V2", RA_CH_TYPE_ECG, 50.0, 10.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00065 {"V3", RA_CH_TYPE_ECG, 50.0, 10.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00066 {"V4", RA_CH_TYPE_ECG, 50.0, 10.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00067 {"V5", RA_CH_TYPE_ECG, 50.0, 10.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00068 {"V6", RA_CH_TYPE_ECG, 50.0, 10.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00069 {"MLII", RA_CH_TYPE_ECG, 50.0, 10.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00070
00071 {"rr", RA_CH_TYPE_RR, 25.0, 0.2, 50.0, 0, 0.0, 0, 0.0, 0.0},
00072 {"bloodpressure", RA_CH_TYPE_RR, 25.0, 0.2, 50.0, 0, 0.0, 0, 0.0, 0.0},
00073 {"bp", RA_CH_TYPE_RR, 25.0, 0.2, 50.0, 0, 0.0, 0, 0.0, 0.0},
00074 {"abp", RA_CH_TYPE_RR, 25.0, 0.2, 50.0, 0, 0.0, 0, 0.0, 0.0},
00075 {"blutdruck", RA_CH_TYPE_RR, 25.0, 0.2, 50.0, 0, 0.0, 0, 0.0, 0.0},
00076 {"pleth", RA_CH_TYPE_RR, 25.0, 0.2, 0.0, 0, 0.0, 0, 0.0, 0.0},
00077 {"art", RA_CH_TYPE_RR, 25.0, 0.2, 0.0, 0, 0.0, 0, 0.0, 0.0},
00078 {"pap", RA_CH_TYPE_RR, 25.0, 0.2, 0.0, 0, 0.0, 0, 0.0, 0.0},
00079 {"cvp", RA_CH_TYPE_RR, 25.0, 0.2, 0.0, 0, 0.0, 0, 0.0, 0.0},
00080
00081 {"resp", RA_CH_TYPE_RESP, 5.0, 1, 0, 1, 0.0, 0, 0.0, 0.0},
00082 {"breath", RA_CH_TYPE_RESP, 5.0, 1, 0, 1, 0.0, 0, 0.0, 0.0},
00083 {"atmung", RA_CH_TYPE_RESP, 5.0, 1, 0, 1, 0.0, 0, 0.0, 0.0},
00084 {"Atemguertel", RA_CH_TYPE_RESP, 5.0, 1, 0, 1, 0.0, 0, 0.0, 0.0},
00085
00086 {"temperature", RA_CH_TYPE_TEMP, -1, -1, 0, 0, 0.0, 0, 0.0, 0.0},
00087 {"temperatur", RA_CH_TYPE_TEMP, -1, -1, 0, 0, 0.0, 0, 0.0, 0.0},
00088 {"temp", RA_CH_TYPE_TEMP, -1, -1, 0, 0, 0.0, 0, 0.0, 0.0},
00089
00090 {"activity", RA_CH_TYPE_ACTIVITY, -1, -1, 0, 0, 0.0, 0, 0.0, 0.0},
00091 {"aktivität", RA_CH_TYPE_ACTIVITY, -1, -1, 0, 0, 0.0, 0, 0.0, 0.0},
00092 {"aktivitaet", RA_CH_TYPE_ACTIVITY, -1, -1, 0, 0, 0.0, 0, 0.0, 0.0},
00093
00094 {"eeg", RA_CH_TYPE_EEG, 25.0, 100.0, 0.0, 1, 0.0, 0, 0.0, 0.0},
00095
00096 {"emg", RA_CH_TYPE_EMG, 100.0, 100.0, 0.0, 1, 50.0, 0, 0.0, 0.0},
00097
00098 {"fhr", RA_CH_TYPE_CTG_FHR, 0.16667, 0.5, 50.0, 0, 0.0, 0, 0.0, 0.0},
00099 {"uc", RA_CH_TYPE_CTG_UC, 0.16667, 0.4, 0.0, 0, 0.0, 0, 0.0, 0.0},
00100
00101 {"angle", RA_CH_TYPE_ANGLE, 50.0, 0.0, 0.0, 0, 0.0, 1, 0, 360.0},
00102 };
00103 int _num_infs = (int) (sizeof(_inf) / sizeof(_inf[0]));
00104
00105
00106 LIBRAAPI int ra_est_ch_type(const char *name, struct ra_est_ch_infos *inf);
00107
00108 #ifdef __cplusplus
00109 }
00110 #endif
00111
00112 #endif