⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 00readme.txt

📁 ecg心电信号产生程序
💻 TXT
字号:
ECGSYN: A program for generating a realistic synthetic ECGCopyright (C) 2003 by Patrick McSharry & Gari Clifford. All rights reserved.Compiling ECGSYN================This directory contains sources for the C version of ECGSYN.  Note, however,that two additional files are required in order to compile ECGSYN.  Thesefiles (dfour1.c and ran1.c) are those included in Numerical Recipes in C(http://www.nr.com/).  Before attempting to compile ECGSYN, obtain thesetwo files from Numerical Recipes in C and place them in this directory.(These files are missing from this directory because they cannot be freelyredistributed.)If you cannot obtain dfour1.c and ran1.c, several alternatives are available,including ready-to-run executable versions of ECGSYN for GNU/Linux, Solaris,and MS-Windows (see the directory above this one), as well as Matlab/Octaveand Java implementations of ECGSYN.  See http://www.physionet.org/ for details.On most platforms, including GNU/Linux, MacOS X, and Unix, compile ECGSYNby typing	makein a terminal window.  This will also work under MS-Windows if you haveinstalled the free Cygwin/gcc development toolkit (http://www.cygwin.com/).If you wish to use another compiler under MS-Windows, you are on your own.Running ECGSYN==============The executable version is named 'ecgsyn' (or, under MS-Windows, 'ecgsyn.exe').Once you have this file, move it into any directory in your PATH and runit by typing	ecgsynin a terminal window.  You may add options (switches) to the 'ecgsyn' command;the option '$', as in	ecgsyn $starts 'ecgsyn' in interactive mode, as shown below:>> ecgsyn $ECGSYN: A program for generating a realistic synthetic ECGCopyright (c) 2003 by Patrick McSharry & Gari Clifford. All rights reserved. O Name of output data file                 "ecgsyn.dat"n Approximate number of heart beats        256s ECG sampling frequency [Hz]              256S Internal Sampling frequency [Hz]         256a Amplitude of additive uniform noise [mV] 0h Heart rate mean [bpm]                    60H Heart rate standard deviation [bpm]      1f Low frequency [Hz]                       0.1F High frequency [Hz]                      0.25v Low frequency standard deviation [Hz]    0.01V High frequency standard deviation [Hz]   0.01q LF/HF ratio                              0.5R Seed                                     1(Type ? for Help)->At the prompt, you can then type ? for help, or simply specify each parameterabove that you want to change by typing the corresponding option letter (in thefirst column above) followed by a space and the new value, then <enter>.  Toreview the current settings, enter a blank line.  After you have modified allthe parameters you want, type = followed by <enter> to run the program. You mayalso specify the parameters in a file called ecgsyn.opt, which is automaticallyread (if it exists) the next time you run the program.Any of the options can also be entered directly on the command line, byprefixing the option letter with '-', as in:	ecgsyn -h 80 -n 100(which would create output at a mean heart rate of 80 bpm, lasting for about100 beats).The source files opt.c and opt.h provide the option interpreter for ecgsyn;they were written by James Theiler.  For additional information, and for themost recent version of 'opt', see http://nis-www.lanl.gov/~jt/Software/.Interpreting ECGSYN's output============================Unless you have changed the name of the output file with the 'O' parameter, you will find the synthetic ECG written to a text file called ecgsyn.dat,which contains three columns: * the time in seconds * the ECG amplitude in millivolts * markers to indicate the locations of the waveform peaks:	0 - (no peak)	1 - Top of P-wave	2 - Q-point	3 - Peak of R-wave	4 - S-point	5 - Peak of T-waveTo convert the ECG output into PhysioBank (WFDB) format, use a commandsuch as	wrsamp -F 256 -o synth -x 200 1 <ecgsyn.dat(assuming you have not changed the default sampling frequency of 256 Hz).This command produces a record named 'synth' (a signal file named 'synth.dat'and a header file named 'synth.hea'), which can be read by other PhysioToolkitapplications.  'wrsamp' is part of the WFDB software package;  seehttp://www.physionet.org/physiotools/wfdb.shtml for details.Further information===================The most recent version of this software can always be obtained from	http://www.physionet.org/physiotools/ecgsyn/See IEEE Transactions on Biomedical Engineering, 50(3),289-294, March 2003.Authors: P. McSharry (patrick AT mcsharry DOT net)	 G. Clifford (gari AT mit DOT edu)   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -