TUM-Logo

libRASCH

 

Home
 

General

About libRASCH/News
Design
Screen shots
Sample programs (with source code)
License
 

Download

libRASCH
Tools
 

Documentation

User
Developer
 

Resources

Mailing list
Supported Formats
Plugins
Status
Links
 
Contact
About this site
 
Last updated
Tue Mar 27 23:03:52 2007
libRASCH: ra_estimate_ch_infos.h Source File

ra_estimate_ch_infos.h

Go to the documentation of this file.
00001 
00010 /*----------------------------------------------------------------------------
00011  *
00012  * Copyright (C) 2002-2004, Raphael Schneider
00013  * See the file COPYING for information on usage and redistribution.
00014  *
00015  * $Header: /home/cvs_repos.bak/librasch/include/ra_estimate_ch_infos.h,v 1.10 2004/06/29 10:43:57 rasch Exp $
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]; /* /^.*[^a-zA-Z]name_contains[^a-zA-Z]/i */
00046         long type;
00047         double mm_sec;          /* mm per second (hint for displaing signal) */
00048         double mm_unit;         /* mm per unit (hint for displaing signal) */
00049         double offset;          /* vertical offset (value will be substracted
00050                                    from value shown */
00051         int centered;
00052         double center_value;
00053 
00054         int min_max;
00055         double min;
00056         double max;
00057 };                              /* struct ra_est_ch_infos */
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 }; /* _inf[] */
00103 int _num_infs = (int) (sizeof(_inf) / sizeof(_inf[0]));
00104 
00105 /* TODO: think if this protoype should be moved to ra.h */
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 /* RA_ESTIMATE_CH_INFOS_H */

Generated on Fri May 27 11:32:39 2005 for libRASCH by  doxygen 1.4.2