diff -Naur wfdb-10.2.8/MANIFEST wfdb-10.2.9/MANIFEST --- wfdb-10.2.8/MANIFEST Tue Aug 6 09:51:59 2002 +++ wfdb-10.2.9/MANIFEST Sat Oct 26 23:42:58 2002 @@ -165,7 +165,6 @@ data/dblist data/esclist data/Makefile -data/Makefile.dos data/Makefile.top data/Makefile.tpl data/mitlist @@ -335,6 +334,8 @@ doc/wpg-src/Makefile.top doc/wpg-src/Makefile.tpl doc/wpg-src/makeinfo.sh +doc/wpg-src/pdftex.cfg-a4 +doc/wpg-src/pdftex.cfg-letter doc/wpg-src/README doc/wpg-src/wpg0.tex doc/wpg-src/wpg.cover @@ -413,7 +414,6 @@ doc/wug-src/wug0.tex doc/wug-src/wug.cover examples/ -examples/dblibver.c examples/example10.c examples/example1.c examples/example2.c @@ -425,17 +425,20 @@ examples/example8.c examples/example9.c examples/exannstr.c +examples/exgetann.c examples/exgetvec.c examples/exputvec.c examples/Makefile examples/Makefile.dos examples/Makefile.top examples/Makefile.tpl +examples/pgain.c examples/psamples.c examples/psamplex.c examples/README examples/refhr.c examples/stdev.c +examples/wfdbversion.c fortran/ fortran/example.f fortran/fsamples.f @@ -458,7 +461,6 @@ lib/makelib lib/README lib/signal.c -lib/twfdbdll.def lib/wfdbdll.def lib/wfdb.h lib/wfdbinit.c diff -Naur wfdb-10.2.8/Makefile wfdb-10.2.9/Makefile --- wfdb-10.2.8/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/Makefile Sun Oct 27 00:05:34 2002 @@ -39,12 +39,12 @@ # create source archives, type `make tarballs'; or to make a binary archive, # type `make bin-tarball'. Making archives requires PGP, gzip, and GNU tar). # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -61,8 +61,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ diff -Naur wfdb-10.2.8/NEWS wfdb-10.2.9/NEWS --- wfdb-10.2.8/NEWS Fri Oct 11 15:33:51 2002 +++ wfdb-10.2.9/NEWS Sat Oct 26 23:55:07 2002 @@ -1,3 +1,15 @@ +10.2.9: + Fixed a bug in example 9 in the WFDB Programmer's Guide (introduced + in version 10.2.0). + + Updated lib/wfdbdll.def and the 'Makefile.dos' files in several + directories. These have not been tested in recent years and may + need further revisions; feedback is welcome. + + Corrected persistent problems with generating PDF versions of the + manuals for the desired page size, and added hyperlinks to the + PDF version of the WFDB Programmer's Guide. + 10.2.8: Fixed a bug in WAVE that occasionally caused a crash when starting up; also repaired a broken link in WAVE's on-line help. diff -Naur wfdb-10.2.8/app/Makefile wfdb-10.2.9/app/Makefile --- wfdb-10.2.8/app/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/app/Makefile Sun Oct 27 00:05:34 2002 @@ -33,12 +33,12 @@ # type `make listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,8 +55,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ @@ -181,8 +181,8 @@ lib-post-uninstall: echo "Nothing to be done for lib-post-uninstall" # _____________________________________________________________________________ -# file: Makefile.tpl G. Moody 23 May 2000 -# Last revised: 27 April 2002 +# file: Makefile.tpl G. Moody 23 May 2000 +# Last revised: 26 October 2002 # This section of the Makefile should not need to be changed. CFILES = ann2rr.c bxb.c calsig.c ecgeval.c epic.c fir.c ihr.c mfilt.c \ @@ -199,7 +199,7 @@ SCRIPTS = cshsetwfdb setwfdb PSFILES = pschart.pro psfd.pro 12lead.pro OTHERFILES = cshsetwfdb setwfdb setwfdb.bat sample8.hea -MFILES = Makefile Makefile-dos-gcc makefile.dos +MFILES = Makefile Makefile.dos # General rule for compiling C sources into executable files. This is # redundant for most versions of `make', but at least one System V version diff -Naur wfdb-10.2.8/app/Makefile.dos wfdb-10.2.9/app/Makefile.dos --- wfdb-10.2.8/app/Makefile.dos Wed May 24 22:35:27 2000 +++ wfdb-10.2.9/app/Makefile.dos Sat Oct 26 15:25:12 2002 @@ -1,10 +1,10 @@ # file: Makefile.dos G. Moody 2 November 1989 -# Last revised: 24 May 2000 -# MSDOS `make' description file template for WFDB applications +# Last revised: 26 October 2002 +# MSDOS/Windows `make' description file template for WFDB applications # # ----------------------------------------------------------------------------- # WFDB applications: programs for working with annotated signals -# Copyright (C) 2000 George B. Moody +# Copyright (C) 2002 George B. Moody # # These programs are free software; you can redistribute them and/or modify # them under the terms of the GNU General Public License as published by the @@ -25,11 +25,18 @@ # please visit PhysioNet (http://www.physionet.org/). # _____________________________________________________________________________ # -# This file is a template for a `make' description file generated by `install', -# which generates `makefile' by concatenating `wfdbcon' with this file (and -# stripping out comments). To use this file without `install', define these -# variables as appropriate for your system: - +# WARNING: NO SUPPORT FOR PROPRIETARY COMPILERS. Previous versions of the WFDB +# software package have been compiled successfully by other users using various +# proprietary compilers including those mentioned below. You may find this +# file helpful if you wish to use one of these compilers, but no support can be +# provided in this case. If you cannot successfully compile this software +# using a proprietary compiler, please try using Cygwin/gcc or MinGW/gcc under +# MS-Windows, or DJGPP under MS-DOS (free from http://www.cygwin.com/, +# http://www.mingw.org/, or http://www.delorie.com/ respectively). +# +# Before using this file, define these variables as appropriate for your +# installation: +# # BINDIR The directory in which the applications will be installed. # CC The name of the command-line C compiler. # CDFLAGS Optional arguments to be supplied to CC to produce object files @@ -37,13 +44,12 @@ # COFLAGS Optional arguments to be supplied to CC to produce optimized # object files (or normal object files if no optimization is # available). -# WFDBDIR The directory in which WFDB data files are to be installed. (More -# than one directory may be used for this purpose; WFDBDIR names -# the primary writeable directory. See the discussion of the -# WFDB path in the ECG Database Programmer's Guide for details.) -# LWFDB CC option to link with the standard WFDB library. -# LWFDBL CC option to link with the large model WFDB library. -# ML CC option to compile for the large memory model. +# WFDBDIR The directory in which WFDB data files are to be installed. +# (More than one directory may be used for this purpose; +# WFDBDIR names the primary writable directory. See the +# discussion of the WFDB path in the WFDB Programmer's Guide +# for details.) +# LDFLAGS CC options to link with the WFDB library. # PSPDIR The directory in which PostScript prolog files will be # installed. # PSPDST The same as PSPDIR, except that any `\' characters should be @@ -64,14 +70,15 @@ # for use with Microsoft C and Turbo C; copy the appropriate one # to LIBDIR and name it `cdapl.lib'. Do this before attempting # to compile `sample'. +# LSAMPLE CC options to link with the WFDB and cdapl libraries. # # The programs `view' and `vsetup' are written to use the # Microsoft C graphics library (`graphics.lib'). Precompiled # versions of `view' and `vsetup' are provided in the `bin' # directory. -# Commands needed to build and install the WFDB applications are given below for -# several versions of `make'. +# Commands needed to build and install the WFDB applications are given below +# for several versions of `make'. # # Borland (Turbo) `make': # make install @@ -94,52 +101,31 @@ # anything below this line. # ----------------------------------------------------------------------------- -XFILES = bxb.exe calsig.exe ecgeval.exe epic.exe fir.exe ihr.exe mfilt.exe \ - mrgann.exe mxm.exe nst.exe plotstm.exe pschart.exe psfd.exe rdann.exe \ - rdsamp.exe rxr.exe sampfreq.exe sigamp.exe skewedit.exe snip.exe sortann.exe \ - sqrs.exe sqrs125.exe sumann.exe sumstats.exe tach.exe wfdbcol8.exe \ - wfdbdesc.exe wfdbwhic.exe wrann.exe wrsamp.exe wvscript.exe xform.exe \ +XFILES = ann2rr.exe bxb.exe calsig.exe ecgeval.exe epic.exe fir.exe ihr.exe \ + mfilt.exe mrgann.exe mxm.exe nst.exe plotstm.exe pscgen.exe pschart.exe \ + psfd.exe rdann.exe rdsamp.exe rr2ann.exe rxr.exe sampfreq.exe sigamp.exe \ + skewedit.exe snip.exe sortann.exe sqrs.exe sqrs125.exe sumann.exe \ + sumstats.exe tach.exe wfdbcat.exe wfdbcollate.exe wfdb-config.exe \ + wfdbdesc.exe wfdbwhich.exe wrann.exe wrsamp.exe wvscript.exe xform.exe \ $(XXFILES) # General rule for compiling C sources into executable files .c.exe: - $(CC) $(CFLAGS) $*.c $(LWFDB) + $(CC) $(CFLAGS) $*.c $(LDFLAGS) # Rules for compiling programs that require non-standard options -# (Only Borland C/C++ 4.0 is known to require the large model to compile bxb, -# epic, nst, pschart, psfd, rxr, sumstats, and xform. If your compiler permits -# it, you may get slightly faster executables of these programs using the small -# model.) - -bxb.exe: bxb.c - $(CC) $(CFLAGS) $(ML) $*.c $(LWFDBL) - -calsig.exe: calsig.c - $(CC) $(CFLAGS) $(ML) $*.c $(LWFDBL) - -epic.exe: epic.c - $(CC) $(CFLAGS) $(ML) $*.c $(LWFDBL) - -nst.exe: nst.c - $(CC) $(CFLAGS) $(ML) $*.c $(LWFDBL) plotstm.exe: plotstm.c $(CC) $(CFLAGS) $*.c pschart.exe: pschart.c - $(CC) $(CFLAGS) $(ML) -DPROLOG=$(Q)$(PSPDST)pschart.pro$(Q) $*.c $(LWFDBL) + $(CC) $(CFLAGS) -DPROLOG=$(Q)$(PSPDST)pschart.pro$(Q) $*.c $(LDFLAGS) psfd.exe: psfd.c - $(CC) $(CFLAGS) $(ML) -DPROLOG=$(Q)$(PSPDST)psfd.pro$(Q) $*.c $(LWFDBL) - -rxr.exe: rxr.c - $(CC) $(CFLAGS) $(ML) $*.c $(LWFDBL) + $(CC) $(CFLAGS) -DPROLOG=$(Q)$(PSPDST)psfd.pro$(Q) $*.c $(LDFLAGS) sample.exe: sample.c - -$(CC) $(CFLAGS) $(ML) $*.c $(LSAMPLE) - -sumstats.exe: sumstats.c - $(CC) $(CFLAGS) $(ML) $*.c $(LWFDBL) + -$(CC) $(CFLAGS) $*.c $(LSAMPLE) view.exe: view.c cl -Ox view.c -link wfdb graphics @@ -147,8 +133,6 @@ vsetup.exe: vsetup.c cl -Ox vsetup.c -link graphics -xform.exe: xform.c - $(CC) $(CFLAGS) $(ML) $*.c $(LWFDBL) $(BINDIR): -mkdir $(BINDIR) diff -Naur wfdb-10.2.8/app/Makefile.tpl wfdb-10.2.9/app/Makefile.tpl --- wfdb-10.2.8/app/Makefile.tpl Sat Apr 27 16:40:07 2002 +++ wfdb-10.2.9/app/Makefile.tpl Sat Oct 26 15:31:42 2002 @@ -1,5 +1,5 @@ -# file: Makefile.tpl G. Moody 23 May 2000 -# Last revised: 27 April 2002 +# file: Makefile.tpl G. Moody 23 May 2000 +# Last revised: 26 October 2002 # This section of the Makefile should not need to be changed. CFILES = ann2rr.c bxb.c calsig.c ecgeval.c epic.c fir.c ihr.c mfilt.c \ @@ -16,7 +16,7 @@ SCRIPTS = cshsetwfdb setwfdb PSFILES = pschart.pro psfd.pro 12lead.pro OTHERFILES = cshsetwfdb setwfdb setwfdb.bat sample8.hea -MFILES = Makefile Makefile-dos-gcc makefile.dos +MFILES = Makefile Makefile.dos # General rule for compiling C sources into executable files. This is # redundant for most versions of `make', but at least one System V version diff -Naur wfdb-10.2.8/app/README wfdb-10.2.9/app/README --- wfdb-10.2.8/app/README Mon Oct 8 22:40:31 2001 +++ wfdb-10.2.9/app/README Sat Oct 26 12:00:45 2002 @@ -1,9 +1,9 @@ file: README G. Moody 1 June 1989 - Last revised: 8 October 2001 + Last revised: 26 October 2002 ------------------------------------------------------------------------------- WFDB applications: programs for working with annotated signals -Copyright (C) 2001 George B. Moody +Copyright (C) 2002 George B. Moody These programs are free software; you can redistribute them and/or modify them under the terms of the GNU General Public License as published by the @@ -49,9 +49,10 @@ The following files will be found in this directory: -Makefile UNIX `make' description file for compiling these applications -Makefile.dos MS-DOS `make' description file for compiling these applications - using Microsoft `make' or `nmake', Borland `make', etc. +Makefile `make' description file for compiling these applications using + ANSI/ISO standard C compilers on supported platforms +Makefile.dos `make' description file for compiling these applications using + unsupported compilers from Borland, Microsoft, etc. Makefile.top Used by ../configure to construct Makefile (comments only) Makefile.tpl Used by ../configure to construct Makefile (portable section) README this file diff -Naur wfdb-10.2.8/checkpkg/Makefile wfdb-10.2.9/checkpkg/Makefile --- wfdb-10.2.8/checkpkg/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/checkpkg/Makefile Sun Oct 27 00:05:34 2002 @@ -31,12 +31,12 @@ # directory). To print a set of source listings, type `make listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -53,8 +53,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ diff -Naur wfdb-10.2.8/conf/version.def wfdb-10.2.9/conf/version.def --- wfdb-10.2.8/conf/version.def Mon Sep 16 10:37:30 2002 +++ wfdb-10.2.9/conf/version.def Sat Oct 26 04:46:05 2002 @@ -1,10 +1,10 @@ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official diff -Naur wfdb-10.2.8/convert/Makefile wfdb-10.2.9/convert/Makefile --- wfdb-10.2.8/convert/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/convert/Makefile Sun Oct 27 00:05:34 2002 @@ -33,12 +33,12 @@ # type `make listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,8 +55,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ @@ -181,14 +181,14 @@ lib-post-uninstall: echo "Nothing to be done for lib-post-uninstall" # _____________________________________________________________________________ -# file: Makefile.tpl G. Moody 24 May 2000 -# Last revised: 20 July 2002 +# file: Makefile.tpl G. Moody 24 May 2000 +# Last revised: 26 October 2002 # This section of the Makefile should not need to be changed. CFILES = a2m.c ad2m.c m2a.c md2a.c readid.c makeid.c edf2mit.c revise.c XFILES = a2m ad2m m2a md2a readid makeid edf2mit revise SCRIPTS = ahaconvert -MFILES = Makefile makefile.dos +MFILES = Makefile Makefile.dos # General rule for compiling C sources into executable files. This is # redundant for most versions of `make', but at least one System V version diff -Naur wfdb-10.2.8/convert/Makefile.dos wfdb-10.2.9/convert/Makefile.dos --- wfdb-10.2.8/convert/Makefile.dos Wed May 24 22:35:27 2000 +++ wfdb-10.2.9/convert/Makefile.dos Sat Oct 26 15:25:01 2002 @@ -1,12 +1,19 @@ # file: makefile.dos G. Moody 2 November 1989 -# Last revised: 7 May 1999 +# Last revised: 26 October 2002 # MSDOS `make' description file template for WFDB format converters # -# This file is a template for a `make' description file generated by `install', -# which generates `makefile' by concatenating `dbconfig' with this file (and -# stripping out comments). To use this file without `install', define these -# variables as appropriate for your system: - +# WARNING: NO SUPPORT FOR PROPRIETARY COMPILERS. Previous versions of the WFDB +# software package have been compiled successfully by other users using various +# proprietary compilers including those mentioned below. You may find this +# file helpful if you wish to use one of these compilers, but no support can be +# provided in this case. If you cannot successfully compile this software +# using a proprietary compiler, please try using Cygwin/gcc or MinGW/gcc under +# MS-Windows, or DJGPP under MS-DOS (free from http://www.cygwin.com/, +# http://www.mingw.org/, or http://www.delorie.com/ respectively). +# +# Before using this file, define these variables as appropriate for your +# installation: +# # BINDIR The directory in which the applications will be installed. # CC The name of the command-line C compiler. # CDFLAGS Optional arguments to be supplied to CC to produce object files @@ -14,7 +21,7 @@ # COFLAGS Optional arguments to be supplied to CC to produce optimized # object files (or normal object files if no optimization is # available). -# LWFDB CC option to link with the standard WFDB library. +# LDFLAGS CC options to link with the standard WFDB library. # Commands needed to build and install the WFDB format-conversion applications # are given below for several versions of `make'. @@ -44,7 +51,7 @@ # General rule for compiling C sources into executable files .c.exe: - $(CC) $(CFLAGS) $*.c $(LWFDB) + $(CC) $(CFLAGS) $*.c $(LDFLAGS) revise.exe: $(CC) $(CFLAGS) -I..\lib $*.c $(LWFDB) diff -Naur wfdb-10.2.8/convert/Makefile.tpl wfdb-10.2.9/convert/Makefile.tpl --- wfdb-10.2.8/convert/Makefile.tpl Sat Jul 20 21:03:59 2002 +++ wfdb-10.2.9/convert/Makefile.tpl Sat Oct 26 15:22:06 2002 @@ -1,11 +1,11 @@ -# file: Makefile.tpl G. Moody 24 May 2000 -# Last revised: 20 July 2002 +# file: Makefile.tpl G. Moody 24 May 2000 +# Last revised: 26 October 2002 # This section of the Makefile should not need to be changed. CFILES = a2m.c ad2m.c m2a.c md2a.c readid.c makeid.c edf2mit.c revise.c XFILES = a2m ad2m m2a md2a readid makeid edf2mit revise SCRIPTS = ahaconvert -MFILES = Makefile makefile.dos +MFILES = Makefile Makefile.dos # General rule for compiling C sources into executable files. This is # redundant for most versions of `make', but at least one System V version diff -Naur wfdb-10.2.8/convert/README wfdb-10.2.9/convert/README --- wfdb-10.2.8/convert/README Fri Jul 12 14:31:50 2002 +++ wfdb-10.2.9/convert/README Sat Oct 26 12:02:20 2002 @@ -1,5 +1,5 @@ file: README G. Moody 28 July 1989 - Last revised: 12 July 2002 + Last revised: 26 October 2002 This directory contains sources for WFDB applications which convert database files in various unsupported formats to and from MIT format, including to and @@ -63,6 +63,12 @@ The following files will be found in this directory: +Makefile `make' description file for compiling these applications using + ANSI/ISO standard C compilers on supported platforms +Makefile.dos `make' description file for compiling these applications using + unsupported compilers from Borland, Microsoft, etc. +Makefile.top Used by ../configure to construct Makefile (comments only) +Makefile.tpl Used by ../configure to construct Makefile (portable section) README this file a2m.c Converts an AHA format annotation file to MIT format @@ -76,7 +82,3 @@ edf2mit.c Converts an EDF file to MIT format revise.c Converts an obsolete MIT header to a new-format MIT header - -Makefile UNIX `make' description file for compiling these applications -makefile.dos MS-DOS `make' description file for compiling these applications - using Microsoft `make' or `nmake', Borland `make', etc. diff -Naur wfdb-10.2.8/data/Makefile wfdb-10.2.9/data/Makefile --- wfdb-10.2.8/data/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/data/Makefile Sun Oct 27 00:05:34 2002 @@ -33,12 +33,12 @@ # listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,8 +55,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ diff -Naur wfdb-10.2.8/data/Makefile.dos wfdb-10.2.9/data/Makefile.dos --- wfdb-10.2.8/data/Makefile.dos Wed May 24 22:35:27 2000 +++ wfdb-10.2.9/data/Makefile.dos Wed Dec 31 19:00:00 1969 @@ -1,37 +0,0 @@ -# file: makefile.dos G. Moody 2 November 1989 -# Last revised: 7 May 1999 -# MSDOS `make' description file template for `micro-database' -# -# This file is a template for a `make' description file generated by `install', -# which generates `makefile' by concatenating `dbconfig' with this file (and -# stripping out comments). To use this file without `install', define these -# variables as appropriate for your system: - -# DBDIR The directory in which WFDB data files will be installed. - -# Commands needed to install the `micro-database' are given below for several -# versions of `make'. -# -# Borland (Turbo) `make': -# make install -# Microsoft `make' (supplied with Microsoft C before version 6.0): -# make makefile -# Microsoft `nmake' (supplied with Microsoft C 6.0 and later versions): -# nmake install - -# Most versions of `make' allow you to override the settings of make variables -# from the command line, so that it may not be necessary to edit this file to -# test the effects of small modifications to it. - -# It should not be necessary to modify anything below this line. -# ----------------------------------------------------------------------------- - -$(DBDIR): - -mkdir $(DBDIR) - -install: $(DBDIR) - copy 100s.* $(DBDIR) - copy multi.hea $(DBDIR) - copy null.hea $(DBDIR) - -clean: diff -Naur wfdb-10.2.8/data/README wfdb-10.2.9/data/README --- wfdb-10.2.8/data/README Wed Jul 21 15:18:44 1999 +++ wfdb-10.2.9/data/README Sat Oct 26 12:05:47 2002 @@ -14,6 +14,9 @@ directory of the MIT-BIH Arrhythmia Database CD-ROM. The other files in this directory are: +Makefile `make' description file for installing these files +Makefile.top Used by ../configure to construct Makefile (comments only) +Makefile.tpl Used by ../configure to construct Makefile (portable section) README this file 100s.hea header file for record `100s' @@ -33,9 +36,6 @@ mitlist list of records in the MIT-BIH Arrhythmia DB mitxlist as above, excluding paced records nstlist list of records in the NST DB - -Makefile UNIX `make' description file for installing these files -makefile.dos MS-DOS `make' description file for installing these files Note that there are no signal or annotation files associated with `multi.hea' and `null.hea'; see the comments in these files for details. diff -Naur wfdb-10.2.8/doc/Makefile wfdb-10.2.9/doc/Makefile --- wfdb-10.2.8/doc/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/doc/Makefile Sun Oct 27 00:05:34 2002 @@ -134,12 +134,12 @@ # `make ug'. To print the WFDB Programmer's Guide, type `make pg'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -156,8 +156,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ diff -Naur wfdb-10.2.8/doc/wag-src/Makefile wfdb-10.2.9/doc/wag-src/Makefile --- wfdb-10.2.8/doc/wag-src/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/doc/wag-src/Makefile Sun Oct 27 00:05:34 2002 @@ -59,12 +59,12 @@ # PostScript 'make wag.ps' (requires troff, tbl, latex, and dvips) # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -81,8 +81,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ diff -Naur wfdb-10.2.8/doc/wpg/info/wpg wfdb-10.2.9/doc/wpg/info/wpg --- wfdb-10.2.8/doc/wpg/info/wpg Thu Aug 8 14:17:37 2002 +++ wfdb-10.2.9/doc/wpg/info/wpg Sat Oct 26 22:35:58 2002 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0 from wpg.tex. +This is wpg, produced by makeinfo version 4.0b from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -7,144 +7,144 @@  Indirect: -wpg-1: 184 -wpg-2: 45322 -wpg-3: 93745 -wpg-4: 143186 -wpg-5: 191644 -wpg-6: 239101 -wpg-7: 283313 -wpg-8: 307632 +wpg-1: 185 +wpg-2: 45795 +wpg-3: 94697 +wpg-4: 144138 +wpg-5: 192801 +wpg-6: 240952 +wpg-7: 285159 +wpg-8: 309751  Tag Table: (Indirect) -Node: Top184 -Node: Overview2012 -Node: Concepts 14380 -Node: Concepts 26367 -Node: Concepts 38346 -Node: Applications10298 -Node: Guide12189 -Node: Recent changes19557 -Node: Usage30434 -Node: print samples31475 -Node: compiling33045 -Node: other languages37810 -Node: WFDB path40936 -Node: running example43611 -Node: name restrictions44285 -Node: WFDB path syntax45322 -Node: exercises 151363 -Node: Functions53768 -Node: introduction to functions54759 -Node: selecting57664 -Node: annopen58087 -Node: isigopen60692 -Node: osigopen65254 -Node: osigfopen67468 -Node: wfdbinit69124 -Node: special input modes70409 -Node: setifreq70889 -Node: getifreq73111 -Node: setgvmode73596 -Node: getspf75071 -Node: signal and annotation I/O75614 -Node: getvec76097 -Node: getframe78794 -Node: putvec80117 -Node: getann82142 -Node: ungetann83512 -Node: putann84208 -Node: non-sequential85242 -Node: isigsettime85744 -Node: isgsettime86477 -Node: iannsettime86985 -Node: conversion88179 -Node: annstr and strann88809 -Node: timstr and strtim93745 -Node: datstr and strdat98495 -Node: aduphys and physadu99535 -Node: calibration102121 -Node: calopen102785 -Node: getcal103681 -Node: putcal104880 -Node: newcal105242 -Node: flushcal105761 -Node: miscellaneous functions106107 -Node: newheader107674 -Node: setheader108976 -Node: setmsheader110540 -Node: wfdbquit112080 -Node: iannclose and oannclose113280 -Node: wfdbquiet and wfdbverbose114171 -Node: wfdberror114661 -Node: sampfreq115652 -Node: setsampfreq116580 -Node: setbasetime117116 -Node: counter conversion117948 -Node: setwfdb120556 -Node: getwfdb123068 -Node: wfdbfile123792 -Node: wfdbflush124918 -Node: getinfo125213 -Node: putinfo126090 -Node: setibsize126831 -Node: setobsize127833 -Node: wfdbgetskew128855 -Node: wfdbsetskew130420 -Node: wfdbgetstart131062 -Node: wfdbsetstart132164 -Node: Data Types132802 -Node: WFDB_Siginfo structures134798 -Node: WFDB_Calinfo structures141141 -Node: WFDB_Anninfo structures143186 -Node: WFDB_Annotation structures145942 -Node: Annotation Codes148826 -Node: Mapping macros153486 -Node: Database Files155433 -Node: Header Files158120 -Node: Signal Files158987 -Node: Annotation Files159806 -Node: Calibration Files160215 -Node: AHA Format Files160980 -Node: Standard I/O162449 -Node: Multiplexed Signal Files163693 -Node: Multi-Frequency Records164874 -Node: Multi-Segment Records168124 -Node: Multiple Record Access170077 -Node: Special Files171522 -Node: Piped and Local Records174426 -Node: NETFILES176277 -Node: Annotation Order178994 -Node: Examples182397 -Node: Example 1183635 -Node: Example 2187590 -Node: Example 3189831 -Node: Example 4191644 -Node: Example 5194525 -Node: Example 6198642 -Node: Example 7201743 -Node: Example 8208621 -Node: Example 9216885 -Node: Example 10223554 -Node: Exercises230894 -Node: Glossary239101 -Node: Installation259436 -Node: Distribution260329 -Node: Unix installation260880 -Node: MS-Windows installation263277 -Node: Other installation266266 -Node: WFDB Applications267426 -Node: Using268422 -Node: Annotation I/O270227 -Node: Evaluation271868 -Node: Signal processing278791 -Node: Graphics281783 -Node: Extensions283313 -Node: Sources292177 -Node: Answers303870 -Node: Concept Index307632 -Node: Function and Macro Index336950 -Node: Copying341897 +Node: Top185 +Node: Overview2015 +Node: Concepts 14383 +Node: Concepts 26370 +Node: Concepts 38349 +Node: Applications10301 +Node: Guide12192 +Node: Recent changes19538 +Node: Usage30471 +Node: print samples31512 +Node: compiling33181 +Node: other languages37957 +Node: WFDB path41409 +Node: running example44084 +Node: name restrictions44758 +Node: WFDB path syntax45795 +Node: exercises 151836 +Node: Functions54241 +Node: introduction to functions55232 +Node: selecting58137 +Node: annopen58560 +Node: isigopen61165 +Node: osigopen65823 +Node: osigfopen68037 +Node: wfdbinit69693 +Node: special input modes70978 +Node: setifreq71458 +Node: getifreq73667 +Node: setgvmode74152 +Node: getspf75627 +Node: signal and annotation I/O76170 +Node: getvec76653 +Node: getframe79449 +Node: putvec80772 +Node: getann82896 +Node: ungetann84365 +Node: putann85061 +Node: non-sequential86095 +Node: isigsettime86597 +Node: isgsettime87330 +Node: iannsettime87838 +Node: conversion89032 +Node: annstr and strann89662 +Node: timstr and strtim94697 +Node: datstr and strdat99447 +Node: aduphys and physadu100487 +Node: calibration103073 +Node: calopen103737 +Node: getcal104633 +Node: putcal105832 +Node: newcal106194 +Node: flushcal106713 +Node: miscellaneous functions107059 +Node: newheader108626 +Node: setheader109928 +Node: setmsheader111492 +Node: wfdbquit113032 +Node: iannclose and oannclose114232 +Node: wfdbquiet and wfdbverbose115123 +Node: wfdberror115613 +Node: sampfreq116604 +Node: setsampfreq117532 +Node: setbasetime118068 +Node: counter conversion118900 +Node: setwfdb121508 +Node: getwfdb124020 +Node: wfdbfile124744 +Node: wfdbflush125870 +Node: getinfo126165 +Node: putinfo127042 +Node: setibsize127783 +Node: setobsize128785 +Node: wfdbgetskew129807 +Node: wfdbsetskew131372 +Node: wfdbgetstart132014 +Node: wfdbsetstart133116 +Node: Data Types133754 +Node: WFDB_Siginfo structures135750 +Node: WFDB_Calinfo structures142093 +Node: WFDB_Anninfo structures144138 +Node: WFDB_Annotation structures146894 +Node: Annotation Codes149778 +Node: Mapping macros154438 +Node: Database Files156385 +Node: Header Files159072 +Node: Signal Files159939 +Node: Annotation Files160758 +Node: Calibration Files161167 +Node: AHA Format Files161932 +Node: Standard I/O163401 +Node: Multiplexed Signal Files164645 +Node: Multi-Frequency Records165826 +Node: Multi-Segment Records169076 +Node: Multiple Record Access171029 +Node: Special Files172474 +Node: Piped and Local Records175378 +Node: NETFILES177229 +Node: Annotation Order179854 +Node: Examples183257 +Node: Example 1184495 +Node: Example 2188549 +Node: Example 3190889 +Node: Example 4192801 +Node: Example 5195781 +Node: Example 6199997 +Node: Example 7203197 +Node: Example 8210174 +Node: Example 9218537 +Node: Example 10225305 +Node: Exercises232745 +Node: Glossary240952 +Node: Installation261287 +Node: Distribution262180 +Node: Unix installation262727 +Node: MS-Windows installation265124 +Node: Other installation268113 +Node: WFDB Applications269272 +Node: Using270268 +Node: Annotation I/O272073 +Node: Evaluation273714 +Node: Signal processing280637 +Node: Graphics283629 +Node: Extensions285159 +Node: Sources294023 +Node: Answers305989 +Node: Concept Index309751 +Node: Function and Macro Index340071 +Node: Copying345018  End Tag Table diff -Naur wfdb-10.2.8/doc/wpg/info/wpg-1 wfdb-10.2.9/doc/wpg/info/wpg-1 --- wfdb-10.2.8/doc/wpg/info/wpg-1 Thu Aug 8 14:17:37 2002 +++ wfdb-10.2.9/doc/wpg/info/wpg-1 Sat Oct 26 22:35:58 2002 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0 from wpg.tex. +This is wpg, produced by makeinfo version 4.0b from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -10,8 +10,8 @@ This guide documents the Waveform Database interface library (the WFDB library). This file contains the text of the Tenth Edition of the -`WFDB Programmer's Guide' (8 August 2002), with revisions for release -10.2.7 of the WFDB library. +`WFDB Programmer's Guide' (26 October 2002), with revisions for release +10.2.9 of the WFDB library. * Menu: @@ -257,11 +257,11 @@ the second edition of `The C Programming Language' by Kernighan and Ritchie, Prentice Hall, 1988. (This is the famous `K&R'; all `K&R' references in this guide include page numbers for the second edition. -Newcomers to C should have a copy for ready reference while reading -this guide.) It may also be helpful to have a copy of a database -directory, such as the `MIT-BIH Arrhythmia Database Directory' -(`http://www.physionet.org/physiobank/database/mitdb/mitdbdir/'). The -`WFDB Applications Guide' (`http://www.physionet.org/physiotools/wag/') +Newcomers to C should have a copy for ready reference while reading this +guide.) It may also be helpful to have a copy of a database directory, +such as the `MIT-BIH Arrhythmia Database Directory' +(http://www.physionet.org/physiobank/database/html/mitdbdir/). The +`WFDB Applications Guide' (http://www.physionet.org/physiotools/wag/) will be useful as a reference for existing WFDB library-based applications (available from PhysioNet, `http://www.physionet.org/'). @@ -361,12 +361,10 @@ extensively revised since they first appeared in 1981. Your comments and suggestions are welcome. Please send them to: - George B. Moody - MIT Room E25-505 + George B. Moody <> + MIT Room E25-505A Cambridge, MA 02139 USA - - (e-mail: `george@mit.edu') An HTML version of this guide, suitable for viewing using any web browser, is included with the WFDB Software Package. The latest @@ -574,14 +572,15 @@ FTP servers. To make use of this feature, link your application with both the WFDB library and the `libwww' library (freely available for all versions of Unix, and for most recent versions of MS Windows, from -`http://www.w3.org/Library'). (In some cases, notably under GNU/Linux, -`libwww' is linked together with the dynamically-loaded version of the -WFDB library, so that you do not need to link `libwww' explicitly.) -All access to remote files is read-only. If you do not wish to allow -access to remote files, or if `libwww' is not available for your OS, -simply do not define the symbol NETFILES when compiling the WFDB -library. For further details, see `wfdbio.c' in the WFDB library -sources. +`http://www.w3.org/Library', or from +`http://www.physionet.org/physiotools/libwww/'). (In some cases, +notably under GNU/Linux, `libwww' is linked together with the +dynamically-loaded version of the WFDB library, so that you do not need +to link `libwww' explicitly.) All access to remote files is read-only. +If you do not wish to allow access to remote files, or if `libwww' is +not available for your OS, simply do not define the symbol NETFILES +when compiling the WFDB library. For further details, see `wfdbio.c' +in the WFDB library sources. The WFDB environment variable may now contain whitespace (space, tab, or newline characters) as path component separators under any OS. @@ -682,6 +681,9 @@ exit(0); } +(See `http://www.physionet.org/physiotools/wfdb/examples/psamples.c' +for a copy of this program.) + All programs that use the WFDB library _must_ include the statement #include @@ -735,7 +737,7 @@ construct commands for compiling programs that use the WFDB library (and the `libwww' libraries, if available). Use it like this: - gcc `wfdb-config --cflags` -o psamples `wfdb-config --libs` + gcc `wfdb-config --cflags` -o psamples psamples.c `wfdb-config --libs` Note that this command contains backticks (`), not apostrophes ('). `wfdb-config' is particularly useful if the WFDB library or its `*.h' @@ -809,11 +811,13 @@ A set of wrapper functions is also available for those who wish to use the WFDB library together with applications written in Fortran. -These functions, defined in `wfdbf.c', provide a thin `wrapper' around -the WFDB library functions, by accepting Fortran-compatible arguments -(there are no structures, and all arguments are passed by reference -rather than by value). For example, here is the Fortran equivalent of -the example program in the previous section: +These functions, defined in `wfdbf.c' +(http://www.physionet.org/physiotools/wfdb/fortran/wfdbf.c), provide a +thin `wrapper' around the WFDB library functions, by accepting +Fortran-compatible arguments (there are no structures, and all +arguments are passed by reference rather than by value). For example, +here is the Fortran equivalent of the example program in the previous +section: integer i, v(2), g @@ -825,16 +829,22 @@ end do end +(See `http://www.physionet.org/physiotools/wfdb/fortran/fsamples.f' for +a copy of this program; an extensively commented version of this +program is also available, at +`http://www.physionet.org/physiotools/wfdb/fortran/example.f'.) + To compile this program using `g77' (the GNU Fortran compiler), save it -as `fsamples.f', copy `wfdbf.c' from the `fortran' directory of the -WFDB Software Package sources or from -`http://www.physionet.org/physiotools/wfdb/fortran/wfdbf.c', then type: +as `fsamples.f' in the current directory, copy `wfdbf.c' +(http://www.physionet.org/physiotools/wfdb/fortran/wfdbf.c) to the +current directory, then type: g77 -o fsamples -fwritable-strings fsamples.f wfdbf.c -lwfdb The Fortran wrapper functions are not discussed in this guide; for -further information, refer to `fortran/README' in the WFDB Software -Package. +further information, refer to fortran/README +(http://www.physionet.org/physiotools/wfdb/fortran/README) in the WFDB +Software Package. It should be possible to write a similar set of wrapper functions for use with Matlab, Octave (a freely available open-source language diff -Naur wfdb-10.2.8/doc/wpg/info/wpg-2 wfdb-10.2.9/doc/wpg/info/wpg-2 --- wfdb-10.2.8/doc/wpg/info/wpg-2 Thu Aug 8 14:17:37 2002 +++ wfdb-10.2.9/doc/wpg/info/wpg-2 Sat Oct 26 22:35:58 2002 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0 from wpg.tex. +This is wpg, produced by makeinfo version 4.0b from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -390,6 +390,9 @@ exit(0); } +(See `http://www.physionet.org/physiotools/wfdb/examples/pgain.c' for a +copy of this program.) + This program, unlike the example in the previous chapter, does not assume that the number of signals is known. The first invocation of `isigopen' determines this number (and the program quits if there are @@ -639,11 +642,11 @@ exit(0); } -(The source for this program, `psamplex.c', can be found in the -`examples' directory of the WFDB source tree. Compile it as shown in -the previous chapter, then run it using a command such as `psamplex -100'.) The QRS detector in chapter 6 also illustrates the use of -`setifreq' (*note Example 10::). +(See `http://www.physionet.org/physiotools/wfdb/examples/psamplex.c' +for a copy of this program. Compile it as shown in the previous +chapter, then run it using a command such as `psamplex 100'.) The QRS +detector in chapter 6 also illustrates the use of `setifreq' (*note +Example 10::).  File: wpg, Node: getifreq, Next: setgvmode, Prev: setifreq, Up: special input modes @@ -784,6 +787,9 @@ exit(0); } +(See `http://www.physionet.org/physiotools/wfdb/examples/exgetvec.c' +for a copy of this program.) + Notice how the value returned by the first invocation of `isigopen' is used to determine how many input signals there are. Several of the example programs in chapter 6 illustrate the use of `getvec'; for @@ -891,6 +897,9 @@ exit(0); } +(See `http://www.physionet.org/physiotools/wfdb/examples/exputvec.c' +for a copy of this program.) + All programs that write signals or annotations _must_ invoke `wfdbquit' to close the output files properly (*note wfdbquit::). This example uses record `8l' (*note Piped and Local Records::) for the @@ -942,6 +951,9 @@ exit(0); } +(See `http://www.physionet.org/physiotools/wfdb/examples/exgetann.c' +for a copy of this program.) + *Note WFDB_Anninfo structures::, for information on the contents of the `WFDB_Anninfo' structure, and *note timstr and strtim::, and *note annstr and strann::, for details of the functions used to print @@ -1167,6 +1179,9 @@ printf("\n"); } } + +(See `http://www.physionet.org/physiotools/wfdb/examples/exannstr.c' +for a copy of this program.) `ACMAX' is defined in `'. The range from 1 through `ACMAX' includes all legal annotation codes; if you run this program, diff -Naur wfdb-10.2.8/doc/wpg/info/wpg-3 wfdb-10.2.9/doc/wpg/info/wpg-3 --- wfdb-10.2.8/doc/wpg/info/wpg-3 Thu Aug 8 14:17:37 2002 +++ wfdb-10.2.9/doc/wpg/info/wpg-3 Sat Oct 26 22:35:58 2002 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0 from wpg.tex. +This is wpg, produced by makeinfo version 4.0b from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY diff -Naur wfdb-10.2.8/doc/wpg/info/wpg-4 wfdb-10.2.9/doc/wpg/info/wpg-4 --- wfdb-10.2.8/doc/wpg/info/wpg-4 Thu Aug 8 14:17:37 2002 +++ wfdb-10.2.9/doc/wpg/info/wpg-4 Sat Oct 26 22:35:58 2002 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0 from wpg.tex. +This is wpg, produced by makeinfo version 4.0b from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -699,11 +699,10 @@ /usr/database http://www.physionet.org/physiobank/database'. (The second component, after the `.' that specifies the current directory, may vary, depending on your platform and the choices made during -installation.) The URL prefix (the third component) points to +installation.) The third component is a URL prefix pointing to PhysioBank, an on-line archive for a wide variety of standard databases -of physiologic signals. The databases are kept in subdirectories of -`http://www.physionet.org/physiobank/database'. For example, the -MIT-BIH Polysomnographic Database is kept in +of physiologic signals. For example, the MIT-BIH Polysomnographic +Database is kept in `http://www.physionet.org/physiobank/database/slpdb', so it is possible to read record `slp37' of that database directly from PhysioBank by passing `slpdb/slp37' as the RECORD argument to `wfdbinit' (or @@ -859,6 +858,9 @@ 25 wfdbquit(); 26 } +(See `http://www.physionet.org/physiotools/wfdb/examples/example1.c' +for a copy of this program.) + *Notes:* _Line 2:_ @@ -960,6 +962,9 @@ 21 exit(0); 22 } +(See `http://www.physionet.org/physiotools/wfdb/examples/example2.c' +for a copy of this program.) + *Notes:* _Lines 4-6:_ @@ -1029,6 +1034,9 @@ 25 annot.aux+1 : ""); 26 exit(0); 27 } + +(See `http://www.physionet.org/physiotools/wfdb/examples/example3.c' +for a copy of this program.) *Notes:* _Line 16:_ diff -Naur wfdb-10.2.8/doc/wpg/info/wpg-5 wfdb-10.2.9/doc/wpg/info/wpg-5 --- wfdb-10.2.8/doc/wpg/info/wpg-5 Thu Aug 8 14:17:38 2002 +++ wfdb-10.2.9/doc/wpg/info/wpg-5 Sat Oct 26 22:35:58 2002 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0 from wpg.tex. +This is wpg, produced by makeinfo version 4.0b from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -55,6 +55,9 @@ 38 exit(0); 39 } +(See `http://www.physionet.org/physiotools/wfdb/examples/example4.c' +for a copy of this program.) + *Notes:* _Lines 21-25:_ Here we allocate storage for the histogram. The value returned by @@ -141,6 +144,9 @@ 50 exit(0); 51 } +(See `http://www.physionet.org/physiotools/wfdb/examples/example5.c' +for a copy of this program.) + *Notes:* _Line 15:_ @@ -233,6 +239,9 @@ 34 exit(0); 35 } +(See `http://www.physionet.org/physiotools/wfdb/examples/example6.c' +for a copy of this program.) + *Notes:* _Line 24:_ @@ -372,6 +381,9 @@ 79 exit(0); 80 } +(See `http://www.physionet.org/physiotools/wfdb/examples/example7.c' +for a copy of this program.) + *Notes:* _Line 3:_ @@ -563,6 +575,9 @@ 113 exit(0); 114 } +(See `http://www.physionet.org/physiotools/wfdb/examples/example8.c' +for a copy of this program.) + *Notes:* _Lines 14-17:_ This code uses `newheader' to determine if a legal record name was @@ -672,13 +687,13 @@ 30 fprintf(stderr, "%s: insufficient memory\n", argv[0]); 31 exit(2); 32 } - 33 for (i = 0; i < nsig; i++) - 34 if ((sum[i]=(long *)calloc(window,sizeof(long))) == NULL) { - 35 fprintf(stderr, "%s: insufficient memory\n", argv[0]); - 36 exit(2); - 37 } - 38 if (wfdbinit(argv[2], &a, 1, s, nsig) != nsig) exit(3); - 39 hwindow = strtim(".05"); window = 2*hwindow + 1; + 33 if (wfdbinit(argv[2], &a, 1, s, nsig) != nsig) exit(3); + 34 hwindow = strtim(".05"); window = 2*hwindow + 1; + 35 for (i = 0; i < nsig; i++) + 36 if ((sum[i]=(long *)calloc(window,sizeof(long))) == NULL) { + 37 fprintf(stderr, "%s: insufficient memory\n", argv[0]); + 38 exit(2); + 39 } 40 btype = (argc > 3) ? strann(argv[3]) : NORMAL; 41 if (argc > 4) iannsettime(strtim(argv[4])); 42 if (argc > 5) { @@ -714,19 +729,22 @@ 72 exit(0); 73 } -*Notes:* +(See `http://www.physionet.org/physiotools/wfdb/examples/example9.c' +for a copy of this program.) -_Lines 33-37:_ - Here we allocate memory for the `sum' vectors that will be used to - store the running totals. See `K&R', page 167, for a description - of `calloc'. +*Notes:* -_Line 39:_ +_Line 34:_ The "half-window" is 50 milliseconds wide, and the "window" (the duration of a segment to be entered into the average) is one sample more than twice that amount (i.e., 50 milliseconds to either side of the fiducial point defined by the annotation). +_Lines 35-39:_ + Here we allocate memory for the `sum' vectors that will be used to + store the running totals. See `K&R', page 167, for a description + of `calloc'. + _Line 40:_ If a third argument is present on the command line, it is taken as an annotation code mnemonic for the desired beat type; otherwise, @@ -879,6 +897,9 @@ 90 wfdbquit(); 91 exit(0); 92 } + +(See `http://www.physionet.org/physiotools/wfdb/examples/example10.c' +for a copy of this program.) *Notes:* diff -Naur wfdb-10.2.8/doc/wpg/info/wpg-6 wfdb-10.2.9/doc/wpg/info/wpg-6 --- wfdb-10.2.8/doc/wpg/info/wpg-6 Thu Aug 8 14:17:38 2002 +++ wfdb-10.2.9/doc/wpg/info/wpg-6 Sat Oct 26 22:35:58 2002 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0 from wpg.tex. +This is wpg, produced by makeinfo version 4.0b from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -492,11 +492,11 @@ ======================================= The latest version of the WFDB Software Package can always be -downloaded in source form from PhysioNet and its mirrors (see -`http://www.physionet.org/physiotools/wfdb.shtml'); binaries for -popular operating systems and development snapshots, as well as -quick-start guides including installation notes for popular operating -systems, are also usually available there. +downloaded in source form from PhysioNet +(`http://www.physionet.org/physiotools/wfdb.shtml') and its mirrors; +binaries for popular operating systems and development snapshots, as +well as quick-start guides including installation notes for popular +operating systems, are also usually available there.  File: wpg, Node: Unix installation, Next: MS-Windows installation, Prev: Distribution, Up: Installation @@ -512,17 +512,17 @@ program called `libwww-config', then `libwww' is installed already.) You may omit this step if you do not wish to have NETFILES support. - Also download and install the `XView' software from -`http://www.physionet.org/physiotools/xview/' if you wish to use -_WAVE_. Sources are available, as are binaries for several versions of -GNU/Linux. If you are using SunOS or Solaris, XView binaries are -available in the Open Look Software Development package and may be -installed already. (If you have a program called `textedit', then -`XView' is installed already.) If you are able to use an existing set -of binaries, these are recommended, since the sources may take a _long_ -time to compile. Be sure that the directory containing `textedit', -usually `/usr/openwin/bin', is in your `PATH'. You may omit this step -if you do not wish to use _WAVE_. + If you wish to use _WAVE_, also download and install the `XView' +software from `http://www.physionet.org/physiotools/xview/'. Sources +are available, as are binaries for several versions of GNU/Linux. If +you are using SunOS or Solaris, XView binaries are available in the +Open Look Software Development package and may be installed already. +(If you have a program called `textedit', then `XView' is installed +already.) If you are able to use an existing set of binaries, these are +recommended, since the sources may take a _long_ time to compile. Be +sure that the directory containing `textedit', usually +`/usr/openwin/bin', is in your `PATH'. You may omit this step if you +do not wish to use _WAVE_. If you have downloaded the software from PhysioNet or another source, you will have a `gzip'-compressed `tar' archive. Unpack it @@ -633,7 +633,7 @@ Other systems ============= - Copy the contents of `http://www.physio.net/physiotools/wfdb/' to + Copy the contents of `http://www.physionet/physiotools/wfdb/' to your hard disk. Note that the text files are in Unix format (i.e., lines are terminated by ASCII line-feed characters only). If your system expects text files in MS-DOS format (with both a carriage return diff -Naur wfdb-10.2.8/doc/wpg/info/wpg-7 wfdb-10.2.9/doc/wpg/info/wpg-7 --- wfdb-10.2.8/doc/wpg/info/wpg-7 Thu Aug 8 14:17:38 2002 +++ wfdb-10.2.9/doc/wpg/info/wpg-7 Sat Oct 26 22:35:58 2002 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0 from wpg.tex. +This is wpg, produced by makeinfo version 4.0b from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -164,7 +164,7 @@ This section is a compendium of sources for databases and related materials that may be useful to readers of this guide. Please send any -corrections to the author (`george@mit.edu'). +corrections to the author (). _WFDB Programmer's Guide (this guide)_ _WFDB Applications Guide_ @@ -175,6 +175,8 @@ _MIMIC Database_ _Other reference databases of physiologic signals_ _WFDB Software Package_ +_W3C libwww sources_ +_XView toolkit (needed for WAVE)_ WWW: `http://www.physionet.org/' @@ -196,7 +198,7 @@ 77 Massachusetts Ave. Cambridge, MA 02139 USA - e-mail: `george@mit.edu' + email: WWW: http://ecg.mit.edu/ telephone: +1 617 253 7424 @@ -209,7 +211,7 @@ via Trieste, 41 56126 PISA, Italy - e-mail: `taddei@ifc.pi.cnr.it' + email: telephone: +39 050 501145 telefax: +39 050 503596 @@ -219,7 +221,7 @@ 5200 Butler Pike Plymouth Meeting, PA 19462 USA - e-mail: `hshupack@shrsys.hslc.org' + email: WWW: `http://www.healthcare.ecri.org/' telephone: +1 610 825 6000 @@ -230,7 +232,7 @@ Fruit St. Boston, MA 02114 USA - e-mail: `cooper@etherdome.mgh.harvard.edu' + email: telephone: +1 617 726 8824 This is a large database of multi-channel recordings (3 ECG leads, @@ -272,7 +274,7 @@ P.O. Box 1331 Piscataway, NJ 08855-1331 USA - e-mail: `customer.service@ieee.org' + email: WWW: `http://www.ieee.org/ieeestore/' telephone: 1 800 678 IEEE (USA and Canada) or +1 732 981 0060 telefax: +1 732 981 9667 @@ -290,7 +292,7 @@ 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA - e-mail: `gnu@gnu.org' + email: WWW: `http://www.gnu.org/' telephone: +1 617 542 5942 GNU software is included in all Linux distributions (in fact, @@ -310,7 +312,7 @@ `ftp.tex.ac.uk', `ftp.dante.de', and `ctan.tug.org'. Many of the sources of GNU software (above) also make TeX, etc. available. CTAN is indexed on the World Wide Web (one such index is - `http://ctan.tug.org/ctan/'). + `http://www.ctan.org/'). The Unix TeX distribution is also distributed on CD-ROM and in other tape formats by the Free Software Foundation (address above) @@ -328,28 +330,29 @@ Portland, OR 97208-2311 USA WWW: `http://www.tug.org/' - e-mail: `office@tug.org' + email: telephone: +1 503 223 3960 telefax: +1 503 223 9994 +_W3C libwww libraries_ + + + WWW: `http://www.w3.org/Library/' + + The `libwww' libraries, created and maintained by the World Wide + Web Consortium, provide the low-level functions needed to support + the WFDB library's (optional) NETFILES capability. The `libwww' + libraries are also available from PhysioNet. + _X11R6 (the X Window System, Version 11, Release 6)_ -_XView_ - The Open Group - 29B Montvale Ave. - Woburn, MA 01801 USA - - e-mail: `xorg_info@x.org' + + email: `xorg_info@x.org' WWW: `http://www.x.org/' telephone: +1 781 376 8200 telefax: +1 781 376 9358 - These packages are freely available by anonymous FTP from - ftp.x.org and other archive sites. X11R6 sources are also - available on CD-ROM from the Free Software Foundation (address - above). - - Sources for XView are also available from PhysioNet. + Sources for XView are available from PhysioNet. _GNU/Linux_ GNU/Linux is a POSIX-compliant reimplementation of the Unix @@ -357,7 +360,7 @@ thousands. It runs on Intel 386, 486, and Pentium PCs, among others. For information about GNU/Linux, visit the web site of the Linux Documentation Project: - `WWW: http://www.linuxdoc.org/' + WWW: `http://www.linuxdoc.org/' GNU/Linux is freely available by anonymous FTP in source and binary form from many sites, including: @@ -369,26 +372,32 @@ GNU/Linux on CD-ROMs are widely available. Among the more popular are: - Caldera Systems, Inc. - 240 West Center Street - Orem, UT 84057 USA - - e-mail: `info@caldera.com' - WWW: `http://www.caldera.com/' - telephone: +1 801 765 4999 - telefax: +1 801 765 1313 + Debian (non-commercial) + WWW: `http://www.debian.org/' - Debian - WWW: `http://www.debian.org/' + Gentoo (non-commercial) + + WWW: `http://www.gentoo.org/' + + + MandrakeSoft S.A. + 43, rue d'Aboukir + 75002 Paris + France + + email: + WWW: `http://www.linux-mandrake.com/' + telephone: +1 626 296 6290 (USA), +33(0) 1 40 41 00 41 (France) + telefax: +1 801 765 1313 Red Hat 2600 Meridian Parkway Durham, NC 27713 - e-mail: `orders@redhat.com' + email: WWW: `http://www.redhat.com/' telephone: 1 888 733 4281 (USA and Canada) or +1 919 547 0012 telefax: +1 919 547 0024 @@ -396,6 +405,7 @@ Slackware + email: WWW: `http://www.slackware.com/' @@ -404,7 +414,7 @@ D-90443 Nurnberg Germany - e-mail: `suse@suse.de' + email: WWW: `http://www.suse.de/' (Germany), `http://www.suse.com/' (USA) telephone: +49 911 74053 31 telefax: +49 911 7417755 @@ -459,7 +469,7 @@ 2265 116th Avenue N.E. Bellevue, WA 98004 USA - e-mail: `info@mstarlabs.com/' + email: WWW: `http://www.mstarlabs.com/' telephone: +1 425 453 2345 telefax: +1 425 453 3199 diff -Naur wfdb-10.2.8/doc/wpg/info/wpg-8 wfdb-10.2.9/doc/wpg/info/wpg-8 --- wfdb-10.2.8/doc/wpg/info/wpg-8 Thu Aug 8 14:17:38 2002 +++ wfdb-10.2.9/doc/wpg/info/wpg-8 Sat Oct 26 22:35:58 2002 @@ -1,4 +1,4 @@ -This is wpg, produced by makeinfo version 4.0 from wpg.tex. +This is wpg, produced by makeinfo version 4.0b from wpg.tex. INFO-DIR-SECTION Libraries START-INFO-DIR-ENTRY @@ -269,6 +269,14 @@ * legal annotation code: Mapping macros. * length of signal file: WFDB_Siginfo structures. * library functions: Functions. +* libwww <1>: Sources. +* libwww <2>: MS-Windows installation. +* libwww <3>: Unix installation. +* libwww <4>: Glossary. +* libwww <5>: NETFILES. +* libwww <6>: WFDB path syntax. +* libwww <7>: compiling. +* libwww: Recent changes. * Linux: Sources. * loader options: compiling. * local record: Piped and Local Records. @@ -480,6 +488,14 @@ * variable name restrictions: name restrictions. * virtual array of annotations: Annotation Order. * voltage (conversion to and from adus): aduphys and physadu. +* W3C libwww <1>: Sources. +* W3C libwww <2>: MS-Windows installation. +* W3C libwww <3>: Unix installation. +* W3C libwww <4>: Glossary. +* W3C libwww <5>: NETFILES. +* W3C libwww <6>: WFDB path syntax. +* W3C libwww <7>: compiling. +* W3C libwww: Recent changes. * waveform editor <1>: Sources. * waveform editor <2>: Graphics. * waveform editor: Applications. @@ -530,6 +546,8 @@ * writing signals: putvec. * X Window System: Sources. * X11: Sources. +* XView toolkit <1>: Sources. +* XView toolkit: Unix installation.  File: wpg, Node: Function and Macro Index, Next: Copying, Prev: Concept Index, Up: Top @@ -633,7 +651,7 @@ WFDB Programmer's Guide Tenth Edition (revised and with additions for WFDB library version -10.2.7) +10.2.9) 26 October 2002 George B. Moody diff -Naur wfdb-10.2.8/doc/wpg-src/Makefile wfdb-10.2.9/doc/wpg-src/Makefile --- wfdb-10.2.8/doc/wpg-src/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/doc/wpg-src/Makefile Sun Oct 27 00:05:34 2002 @@ -65,12 +65,12 @@ # wpg.info' again. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -87,8 +87,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ @@ -214,7 +214,7 @@ echo "Nothing to be done for lib-post-uninstall" # _____________________________________________________________________________ # file: Makefile.tpl G. Moody 24 May 2000 -# Last revised: 5 August 2002 +# Last revised: 26 October 2002 # Change the settings below as appropriate for your setup. # D2PARGS is a list of options for dvips. Uncomment one of these to set the @@ -223,10 +223,14 @@ D2PARGS = -t letter # T2DARGS is a list of options for texi2dvi. Uncomment one of these to set the -# page size (the size of the printed area on the paper; normally this should -# match the paper size specified in D2PARGS): -# T2DARGS = -t @afourpaper -T2DARGS = -t @letterpaper +# page size (the size of the printed area on the paper): +# T2DARGS = --t @afourpaper +T2DARGS = --t @letterpaper + +# PDFTEXCFG is the name of a file containing parameter settings for pdftex +# (used by texi2dvi). Choose the file corresponding to your paper size: +# PDFTEXCFG = pdftex.cfg-a4 +PDFTEXCFG = pdftex.cfg-letter # LN is a command that makes the file named by its first argument accessible # via the name given in its second argument. If your system supports symbolic @@ -334,8 +338,12 @@ # 'make wpg.pdf': format the WFDB Programmer's Guide as PDF wpg.pdf: wpg.tex + sed 's/@-//g' wpg1.tex + mv wpg1.tex wpg.tex rm -f wpg.aux wpg.idx wpg.ind wpg.toc + cp $(PDFTEXCFG) pdftex.cfg texi2dvi --pdf $(T2DARGS) wpg.tex + rm pdftex.cfg wpg.tex # 'make pg.ps': format the WFDB Programmer's Guide as PostScript wpg.ps: wpg.tex @@ -350,5 +358,5 @@ # 'make clean': remove intermediate and backup files clean: rm -f info.tar.gz wpg wpg-* wpg.aux wpg.cp wpg.cps wpg.dvi wpg.fn \ - wpg.fns wpg.ky wpg.log wpg.pdf wpg.ps wpg.pg wpg.tex wpg.toc wpg.tp \ - wpg.vr wpgcover wpgcover.ps *~ ../wpg/info/dir + wpg.fns wpg.ilg wpg.ky wpg.log wpg.pdf wpg.ps wpg.pg wpg.tex wpg.toc \ + wpg.tp wpg.vr wpgcover wpgcover.ps *~ ../wpg/info/dir diff -Naur wfdb-10.2.8/doc/wpg-src/Makefile.tpl wfdb-10.2.9/doc/wpg-src/Makefile.tpl --- wfdb-10.2.8/doc/wpg-src/Makefile.tpl Mon Aug 5 12:34:02 2002 +++ wfdb-10.2.9/doc/wpg-src/Makefile.tpl Sat Oct 26 23:40:42 2002 @@ -1,5 +1,5 @@ # file: Makefile.tpl G. Moody 24 May 2000 -# Last revised: 5 August 2002 +# Last revised: 26 October 2002 # Change the settings below as appropriate for your setup. # D2PARGS is a list of options for dvips. Uncomment one of these to set the @@ -8,10 +8,14 @@ D2PARGS = -t letter # T2DARGS is a list of options for texi2dvi. Uncomment one of these to set the -# page size (the size of the printed area on the paper; normally this should -# match the paper size specified in D2PARGS): -# T2DARGS = -t @afourpaper -T2DARGS = -t @letterpaper +# page size (the size of the printed area on the paper): +# T2DARGS = --t @afourpaper +T2DARGS = --t @letterpaper + +# PDFTEXCFG is the name of a file containing parameter settings for pdftex +# (used by texi2dvi). Choose the file corresponding to your paper size: +# PDFTEXCFG = pdftex.cfg-a4 +PDFTEXCFG = pdftex.cfg-letter # LN is a command that makes the file named by its first argument accessible # via the name given in its second argument. If your system supports symbolic @@ -119,8 +123,12 @@ # 'make wpg.pdf': format the WFDB Programmer's Guide as PDF wpg.pdf: wpg.tex + sed 's/@-//g' wpg1.tex + mv wpg1.tex wpg.tex rm -f wpg.aux wpg.idx wpg.ind wpg.toc + cp $(PDFTEXCFG) pdftex.cfg texi2dvi --pdf $(T2DARGS) wpg.tex + rm pdftex.cfg wpg.tex # 'make pg.ps': format the WFDB Programmer's Guide as PostScript wpg.ps: wpg.tex @@ -135,5 +143,5 @@ # 'make clean': remove intermediate and backup files clean: rm -f info.tar.gz wpg wpg-* wpg.aux wpg.cp wpg.cps wpg.dvi wpg.fn \ - wpg.fns wpg.ky wpg.log wpg.pdf wpg.ps wpg.pg wpg.tex wpg.toc wpg.tp \ - wpg.vr wpgcover wpgcover.ps *~ ../wpg/info/dir + wpg.fns wpg.ilg wpg.ky wpg.log wpg.pdf wpg.ps wpg.pg wpg.tex wpg.toc \ + wpg.tp wpg.vr wpgcover wpgcover.ps *~ ../wpg/info/dir diff -Naur wfdb-10.2.8/doc/wpg-src/README wfdb-10.2.9/doc/wpg-src/README --- wfdb-10.2.8/doc/wpg-src/README Mon Jul 22 00:16:06 2002 +++ wfdb-10.2.9/doc/wpg-src/README Sat Oct 26 04:57:11 2002 @@ -1,5 +1,5 @@ file: README G. Moody 7 September 1989 - Last revised: 22 July 2002 + Last revised: 26 October 2002 This directory contains the TeX (texinfo) source for the WFDB Programmer's Guide. Under Unix, Linux, or under MS-Windows with the Cygwin toolkit, @@ -30,14 +30,13 @@ ctotexi.c formats a C program as texinfo (used to format programs from ../../examples for inclusion in the WFDB Programmer's Guide) -dir.db Text to be added (by `make info') to the top-level `info' menu dir.top Template for top-level `info' menu +dir.wpg Text to be added (by `make info') to the top-level `info' menu fixpg.sh Script for postprocessing WFDB Programmer's Guide HTML files -info/ directory for GNU info version of the WFDB Programmer's Guide makeinfo.sh Script for converting dbu.tex to `info' hypertext files using GNU emacs (if you don't have `makeinfo') +wpg0.tex TeX (texinfo) source for the WFDB Programmer's Guide wpg.cover troff source for the cover of the WFDB Progammer's Guide wpg.hlp Programmer's Guide in MS-Windows help file format (this may not be up-to-date; see 'Makefile' for information on updating it) wpg.ht0 HTML-format introduction for the WFDB Programmer's Guide -wpg.tex TeX (texinfo) source for the WFDB Programmer's Guide diff -Naur wfdb-10.2.8/doc/wpg-src/pdftex.cfg-a4 wfdb-10.2.9/doc/wpg-src/pdftex.cfg-a4 --- wfdb-10.2.8/doc/wpg-src/pdftex.cfg-a4 Wed Dec 31 19:00:00 1969 +++ wfdb-10.2.9/doc/wpg-src/pdftex.cfg-a4 Sat Oct 26 22:06:46 2002 @@ -0,0 +1,13 @@ +% Thomas Esser, 1998, 1999, public domain. +output_format 1 +compress_level 9 +decimal_digits 3 +page_width 210truemm +page_height 297truemm +horigin 1truein +vorigin 1truein +% pdftex.map is set up by texmf/dvips/config/updmap +map pdftex.map +% This shows how to add your own map file. +% Remove the comment and adjust the name: +% map +myfonts.map diff -Naur wfdb-10.2.8/doc/wpg-src/pdftex.cfg-letter wfdb-10.2.9/doc/wpg-src/pdftex.cfg-letter --- wfdb-10.2.8/doc/wpg-src/pdftex.cfg-letter Wed Dec 31 19:00:00 1969 +++ wfdb-10.2.9/doc/wpg-src/pdftex.cfg-letter Sat Oct 26 22:06:57 2002 @@ -0,0 +1,13 @@ +% Thomas Esser, 1998, 1999, public domain. +output_format 1 +compress_level 9 +decimal_digits 3 +page_width 8.5truein +page_height 11truein +horigin 1truein +vorigin 1truein +% pdftex.map is set up by texmf/dvips/config/updmap +map pdftex.map +% This shows how to add your own map file. +% Remove the comment and adjust the name: +% map +myfonts.map diff -Naur wfdb-10.2.8/doc/wpg-src/wpg0.tex wfdb-10.2.9/doc/wpg-src/wpg0.tex --- wfdb-10.2.8/doc/wpg-src/wpg0.tex Wed Aug 7 12:14:17 2002 +++ wfdb-10.2.9/doc/wpg-src/wpg0.tex Sun Oct 27 00:03:23 2002 @@ -24,7 +24,7 @@ Copyright @copyright{} 1989 -- 2002 George B. Moody @sp 2 The most recent versions of the software described in this guide may be -downloaded from @code{http://www.physionet.org/}. For further +downloaded from @uref{http://www.physionet.org/}. For further information, write to: @display @@ -35,8 +35,10 @@ USA @end display -An HTML version of this guide is available at -@code{http://@-www.@-physio@-net.@-org/@-physio@-tools/@-wpg/}. +@ifnothtml +See @uref{http://www.physio@-net.org/physio@-tools/@-wpg/} +for an HTML version of this guide. +@end ifnothtml @sp 2 Permission is granted to make and distribute verbatim copies of this @@ -331,20 +333,21 @@ @node Guide, , Applications, Overview @unnumberedsec About this Guide -You should have a good grasp of the C language in order to make the best use of -this guide. If ANSI C prototypes, used here to document the WFDB library -functions, are unfamiliar to you, see pp. 217--218 in the second edition of -@cite{The C Programming Language} by Kernighan and Ritchie, Prentice Hall, -1988. (This is the famous @cite{K&R}; all @cite{K&R} references in this guide -include page numbers for the second edition. Newcomers to C should have a copy -for ready reference while reading this guide.) It may also be helpful to have -a copy of a database directory, such as the @cite{MIT-BIH Arrhythmia Database -Directory} -(@code{http://@-www.@-physionet.@-org/@-physio@-bank/@-data@-base/@-mitdb/@-mitdbdir/}). -The @cite{WFDB Applications Guide} -(@code{http://@-www.@-physionet.@-org/@-physio@-tools/@-wag/}) will be useful -as a reference for existing WFDB library-based applications (available from -PhysioNet, @code{http://@-www.@-physio@-net.@-org/}). +You should have a good grasp of the C language in order to make the best +use of this guide. If ANSI C prototypes, used here to document the WFDB +library functions, are unfamiliar to you, see pp. 217--218 in the second +edition of @cite{The C Programming Language} by Kernighan and Ritchie, +Prentice Hall, 1988. (This is the famous @cite{K&R}; all @cite{K&R} +references in this guide include page numbers for the second edition. +Newcomers to C should have a copy for ready reference while reading this +guide.) It may also be helpful to have a copy of a database directory, +such as the +@uref{http://@-www.@-physionet.@-org/@-physio@-bank/@-data@-base/@-html/@-mitdbdir/, +@cite{MIT-BIH Arrhythmia Database Directory}}. The +@uref{http://@-www.@-physionet.@-org/@-physio@-tools/@-wag/, +@cite{WFDB Applications Guide}} will be +useful as a reference for existing WFDB library-based applications +(available from PhysioNet, @uref{http://@-www.@-physio@-net.@-org/}). You should have access to a computer that has the WFDB library and at least one or two database records on-line, or access to the World Wide Web, @@ -443,12 +446,11 @@ and suggestions are welcome. Please send them to: @display -George B. Moody -MIT Room E25-505 +George B. Moody <@email{george@@mit.edu}> +MIT Room E25-505A Cambridge, MA 02139 USA -(e-mail: @code{george@@mit.edu}) @end display @iftex @@ -466,14 +468,14 @@ An HTML version of this guide, suitable for viewing using any web browser, is included with the WFDB Software Package. The latest version may always be -viewed at @code{http://@-www.@-physio@-net.@-org/@-physio@-tools/@-wpg/} using your web +viewed at @uref{http://@-www.@-physio@-net.@-org/@-physio@-tools/@-wpg/} using your web browser. @ifinfo You can format and print copies of this guide using TeX if you have it (see @file{makefile} in the @file{doc} directory of the library distribution for instructions on doing so). You may obtain a preformatted version suitable for -output on any PostScript device from @code{http://www.physionet.org/}. +output on any PostScript device from @uref{http://www.physionet.org/}. @end ifinfo @node Recent changes, Usage, Overview, Top @@ -590,7 +592,7 @@ @noindent will read its input from -@file{http://@-www.@-physio@-net.@-org/@-physio@-bank/@-data@-base/@-mitdb/}, +@uref{http://@-www.@-physio@-net.@-org/@-physio@-bank/@-data@-base/@-mitdb/}, will create a directory named @file{mitdb} within the current directory, and will write its output annotation file (@file{100.qrs}) into this newly-created directory. If we then use the command: @@ -645,8 +647,8 @@ @file{. http://@-www.@-physio@-net.@-org/@-physio@-bank/@-data@-base}, and the record name @file{mitdb/100} is supplied to @code{wfdbinit}, the WFDB library will find the header file at -@code{http://@-www.@-physio@-net.@-org/@-physio@-bank/@-data@-base/@-mitdb/@-100.hea}, -and will then add @code{http://@-www.@-physio@-net.@-org/@-physio@-bank/data@-base/@-mitdb/} to +@uref{http://@-www.@-physio@-net.@-org/@-physio@-bank/@-data@-base/@-mitdb/@-100.hea}, +and will then add @uref{http://@-www.@-physio@-net.@-org/@-physio@-bank/data@-base/@-mitdb/} to the end of the WFDB path so that the signal file (specified as @file{100.dat} in the header file) can be found. @@ -658,20 +660,21 @@ @unnumberedsubsec Changes in version 10.0.1 @cindex NETFILES +@cindex libwww +@cindex W3C libwww -Beginning with version 10.0.1, the WFDB library supports reading not -only local files, but also remote files made available by web (HTTP) or -FTP servers. To make use of this feature, link your application with -both the WFDB library and the @file{libwww} library (freely available -for all versions of Unix, and for most recent versions of MS Windows, -from @file{http://www.w3.org/Library}). (In some cases, notably under -GNU/Linux, @code{libwww} is linked together with the dynamically-loaded -version of the WFDB library, so that you do not need to link -@code{libwww} explicitly.) All access to remote files is read-only. If -you do not wish to allow access to remote files, or if @code{libwww} is -not available for your OS, simply do not define the symbol NETFILES when -compiling the WFDB library. For further details, see @file{wfdbio.c} in -the WFDB library sources. +Beginning with version 10.0.1, the WFDB library supports reading not only local +files, but also remote files made available by web (HTTP) or FTP servers. To +make use of this feature, link your application with both the WFDB library and +the @code{libwww} library (freely available for all versions of Unix, and for +most recent versions of MS Windows, from @uref{http://www.w3.org/Library}, or +from @uref{http://@-www.physio@-net.org/physio@-tools/libwww/}). (In some +cases, notably under GNU/Linux, @code{libwww} is linked together with the +dynamically-loaded version of the WFDB library, so that you do not need to link +@code{libwww} explicitly.) All access to remote files is read-only. If you do +not wish to allow access to remote files, or if @code{libwww} is not available +for your OS, simply do not define the symbol NETFILES when compiling the WFDB +library. For further details, see @file{wfdbio.c} in the WFDB library sources. @cindex WFDB path The WFDB environment variable may now contain whitespace (space, tab, or @@ -769,6 +772,10 @@ @} @end example +@noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/psamples.c} +for a copy of this program.) + All programs that use the WFDB library @emph{must} include the statement @@ -815,9 +822,12 @@ additional libraries, and the corresponding @samp{-l} options can usually be given before or after the @samp{-lwfdb} option. +@cindex libwww +@cindex W3C libwww + If the WFDB library was installed with NETFILES support, it will make -use of functions contained in the @file{libwww} libraries. If you have -dynamically linkable versions of the @file{libwww} libraries, as under +use of functions contained in the @code{libwww} libraries. If you have +dynamically linkable versions of the @code{libwww} libraries, as under GNU/Linux, these will be loaded automatically when you run @code{psamples}. If you have only static versions of these libraries, as under Solaris or MS-Windows, however, it is necessary to provide @@ -830,11 +840,11 @@ If you are using WFDB version 10.2.6 or a later version and @file{gcc} or a compatible compiler, the @file{wfdb-config} utility is available to help construct commands for compiling programs that use the WFDB -library (and the @file{libwww} libraries, if available). Use it like +library (and the @code{libwww} libraries, if available). Use it like this: @example -gcc `wfdb-config --cflags` -o psamples `wfdb-config --libs` +gcc `wfdb-config --cflags` -o psamples psamples.c `wfdb-config --libs` @end example @noindent @@ -845,11 +855,11 @@ Under MS-Windows, it will be easiest to use @file{gcc}, the GNU C/C++ compiler, which is included in the freely available Cygwin software -development system (@code{http://@-www@-.cygwin@-.com/}), +development system (@uref{http://@-www@-.cygwin@-.com/}), and also in the freely available MinGW package -(@code{http://@-www@-.mingw@-.org/}). An MS-DOS version of @file{gcc} +(@uref{http://@-www@-.mingw@-.org/}). An MS-DOS version of @file{gcc} is available in the free djgpp package -(@code{http://@-www@-.delorie@-.com/@-djgpp/}). These are used within a +(@uref{http://@-www@-.delorie@-.com/@-djgpp/}). These are used within a Cygwin terminal emulator window or an MS-DOS box in exactly the same way as described above for Unix C compilers. @@ -915,15 +925,14 @@ @cindex Fortran bindings @cindex wrappers for Fortran -A set of wrapper functions is also available for those who wish to use -the WFDB library together with applications written in Fortran. These -functions, defined in @file{wfdbf.c}, provide a thin `wrapper' around the WFDB library functions, by +A set of wrapper functions is also available for those who wish to use the WFDB +library together with applications written in Fortran. These functions, +defined in @uref{http://www.physionet.org/physiotools/wfdb/fortran/wfdbf.c, +@file{wfdbf.c}}, provide a thin `wrapper' around the WFDB library functions, by accepting Fortran-compatible arguments (there are no structures, and all -arguments are passed by reference rather than by value). For example, -here is the Fortran equivalent of the example program in the previous -section: +arguments are passed by reference rather than by value). For example, here is +the Fortran equivalent of the example program in the previous section: -@page @example integer i, v(2), g @@ -937,11 +946,16 @@ @end example @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/fortran/fsamples.f} +for a copy of this program; an extensively commented version of this program +is also available, at +@uref{http://www.physionet.org/physiotools/wfdb/fortran/example.f}.) + +@noindent To compile this program using @code{g77} (the GNU Fortran compiler), save it as -@file{fsamples.f}, copy @file{wfdbf.c} from the @file{fortran} directory of the -WFDB Software Package sources or from -@code{http://@-www.@-physio@-net.@-org/@-physio@-tools/@-wfdb/@-fortran/@-wfdbf.c}, -then type: +@file{fsamples.f} in the current directory, copy +@uref{http://www.physionet.org/physiotools/wfdb/fortran/wfdbf.c,@file{wfdbf.c}} +to the current directory, then type: @example g77 -o fsamples -fwritable-strings fsamples.f wfdbf.c -lwfdb @@ -949,7 +963,9 @@ @noindent The Fortran wrapper functions are not discussed in this guide; for further -information, refer to @file{fortran/README} in the WFDB Software Package. +information, refer to +@uref{http://www.physionet.org/physiotools/wfdb/fortran/README,fortran/README} +in the WFDB Software Package. @cindex Matlab bindings @cindex Octave bindings @@ -957,16 +973,16 @@ @cindex wrappers for Matlab, Octave, or Scilab It should be possible to write a similar set of wrapper functions for use with Matlab, Octave (a freely available open-source language that is compatible with -Matlab, available from @code{http://www.che.wisc.edu/octave/}), or Scilab (an +Matlab, available from @uref{http://www.che.wisc.edu/octave/}), or Scilab (an open-source scientific software package for numerical computations, with a language similar to that of Matlab, available from -@code{http://www-rocq.@-inria.@-fr/@-scilab/}). At this time, such wrappers +@uref{http://www-rocq.@-inria.@-fr/@-scilab/}). At this time, such wrappers are not available, but a reimplementation of a useful subset of the WFDB library in native m-code (contributed by Jose Garcia Moros and Salvador Olmos) is available from -@code{http://www.@-physio@-net.@-org/@-physio@-tools/@-matlab/}. Jesus Olivan +@uref{http://www.@-physio@-net.@-org/@-physio@-tools/@-matlab/}. Jesus Olivan Palacios has written a tutorial (available at -@code{http://www.@-neurotraces.@-com/@-scilab/@-sciteam/}) on using the WFDB +@uref{http://www.@-neurotraces.@-com/@-scilab/@-sciteam/}) on using the WFDB Software Package with Scilab. @node WFDB path, running example, other languages, Usage @@ -1107,7 +1123,7 @@ (i.e., it refers to the current directory), the second component names the @dfn{system-wide database directory} (which contains the sample WFDB files supplied with the WFDB software package), and the third component -is @code{http://www.physionet.org/physiobank/data@-base} (referring to the +is @uref{http://www.physionet.org/physiobank/data@-base} (referring to the PhysioBank data archives). Note that this default may be changed at the time the WFDB library is compiled. Normally, however, this means that any record available from PhysioBank is readable by any WFDB application @@ -1151,7 +1167,10 @@ modified version rather than the original. @cindex NETFILES -The WFDB path may contain @code{http://} and @code{ftp://} URL prefixes +@cindex libwww +@cindex W3C libwww + +The WFDB path may contain @uref{http://} and @code{ftp://} URL prefixes (other schema, such as @code{file://} and @code{https://}, may also be supported if they are supported by your version of @code{libwww}). If NETFILES support is not compiled into the WFDB library, any WFDB @@ -1538,6 +1557,10 @@ @c @end group @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/pgain.c} +for a copy of this program.) + +@noindent This program, unlike the example in the previous chapter, does not assume that the number of signals is known. The first invocation of @code{isigopen} determines this number (and the program quits if there @@ -1847,11 +1870,10 @@ @end example @noindent -(The source for this program, @file{psamplex.c}, can be found in the -@file{examples} directory of the WFDB source tree. Compile it as shown -in the previous chapter, then run it using a command such as -@samp{psamplex 100}.) The QRS detector in chapter 6 also illustrates -the use of @code{setifreq} (@pxref{Example 10}). +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/psamplex.c} for a +copy of this program. Compile it as shown in the previous chapter, then run it +using a command such as @samp{psamplex 100}.) The QRS detector in chapter 6 +also illustrates the use of @code{setifreq} (@pxref{Example 10}). @c @group @node getifreq, setgvmode, setifreq, special input modes @@ -2019,6 +2041,10 @@ @} @end example +@noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/exgetvec.c} +for a copy of this program.) + Notice how the value returned by the first invocation of @code{isigopen} is used to determine how many input signals there are. Several of the example programs in chapter 6 illustrate the use of @code{getvec}; for @@ -2154,6 +2180,10 @@ @} @end example +@noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/exputvec.c} +for a copy of this program.) + All programs that write signals or annotations @emph{must} invoke @code{wfdbquit} to close the output files properly @iftex @@ -2219,11 +2249,15 @@ if (annopen("100s", &a, 1) < 0) exit(1); while (getann(0, &annot) == 0) - printf("%s %s\n", mstimstr(annot.time), annstr(annot.anntyp); + printf("%s %s\n", mstimstr(annot.time), annstr(annot.anntyp)); exit(0); @} @end example +@noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/exgetann.c} +for a copy of this program.) + @iftex @xref{WFDB_Anninfo structures, , Annotator Information Structures}, @end iftex @@ -2525,6 +2559,10 @@ @} @end example +@noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/exannstr.c} +for a copy of this program.) + @code{ACMAX} is defined in @file{}. The range from 1 through @code{ACMAX} includes all legal annotation codes; if you run this program, you will find some undefined but legal annotation codes in @@ -4845,7 +4883,7 @@ example, record 100 of the MIT-BIH Arrhythmia Database consists of the files named @file{100.hea}, @file{100.dat}, and @file{100.atr} in the @file{mitdb} directory of the MIT-BIH Arrhythmia Database CD-ROM (or in PhysioBank, within -@code{http://@-www.@-physio@-net.@-org/@-physio@-bank/@-data@-base/@-mitdb/}), +@uref{http://@-www.@-physio@-net.@-org/@-physio@-bank/@-data@-base/@-mitdb/}), together with any additional files in other directories that you may have associated with record 100 (such as your own annotation file). All files associated with a given record include the record name as the first part of the @@ -5262,6 +5300,8 @@ @cindex http @cindex ftp @cindex WFDB path +@cindex libwww +@cindex W3C libwww If the symbol @code{WFDB_NETFILES} is defined at the time the WFDB library is compiled, then input files located on remote web (HTTP) and FTP servers can be @@ -5280,17 +5320,16 @@ WFDB environment variable is undefined) is @samp{. /usr/database http://www.physio@-net.org/physio@-bank/data@-base}. (The second component, after the @samp{.} that specifies the current directory, may vary, depending on -your platform and the choices made during installation.) The URL prefix (the -third component) points to PhysioBank, an on-line archive for a wide variety of -standard databases of physiologic signals. The databases are kept in -subdirectories of @code{http://www.physio@-net.org/physio@-bank/data@-base}. +your platform and the choices made during installation.) The third component +is a URL prefix pointing to PhysioBank, an on-line archive for a wide variety +of standard databases of physiologic signals. For example, the MIT-BIH Polysomnographic Database is kept in -@code{http://www.physio@-net.org/physio@-bank/data@-base/slpdb}, so it is +@uref{http://www.physio@-net.org/physio@-bank/data@-base/slpdb}, so it is possible to read record @code{slp37} of that database directly from PhysioBank by passing @code{slpdb/slp37} as the @var{record} argument to @code{wfdbinit} (or @code{isigopen}, @code{annopen}, etc.). -Current implementations of @code{libwww} permit input from @code{http://} URLs +Current implementations of @code{libwww} permit input from @uref{http://} URLs in much the same way that local files are read, provided that the remote web server supports HTTP 1.1 range requests (most, including PhysioNet's, do). This means that it is not necessary to download an entire file in order to @@ -5449,7 +5488,10 @@ @i{26} @} @end example -@page +@noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example1.c} +for a copy of this program.) + @c @group @noindent @strong{Notes:} @@ -5556,6 +5598,10 @@ @end example @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example2.c} +for a copy of this program.) + +@noindent @strong{Notes:} @table @emph @@ -5628,6 +5674,10 @@ @end example @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example3.c} +for a copy of this program.) + +@noindent @strong{Notes:} @table @emph @item Line 16: @@ -5696,6 +5746,10 @@ @i{39} @} @end example +@noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example4.c} +for a copy of this program.) + @c @group @noindent @strong{Notes:} @@ -5788,6 +5842,10 @@ @end example @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example5.c} +for a copy of this program.) + +@noindent @strong{Notes:} @table @emph @@ -5884,6 +5942,10 @@ @end example @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example6.c} +for a copy of this program.) + +@noindent @strong{Notes:} @table @emph @@ -6029,6 +6091,10 @@ @end example @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example7.c} +for a copy of this program.) + +@noindent @strong{Notes:} @table @emph @@ -6225,6 +6291,10 @@ @end example @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example8.c} +for a copy of this program.) + +@noindent @strong{Notes:} @table @emph @item Lines 14--17: @@ -6334,13 +6404,13 @@ @i{30} fprintf(stderr, "%s: insufficient memory\n", argv[0]); @i{31} exit(2); @i{32} @} -@i{33} for (i = 0; i < nsig; i++) -@i{34} if ((sum[i]=(long *)calloc(window,sizeof(long))) == NULL) @{ -@i{35} fprintf(stderr, "%s: insufficient memory\n", argv[0]); -@i{36} exit(2); -@i{37} @} -@i{38} if (wfdbinit(argv[2], &a, 1, s, nsig) != nsig) exit(3); -@i{39} hwindow = strtim(".05"); window = 2*hwindow + 1; +@i{33} if (wfdbinit(argv[2], &a, 1, s, nsig) != nsig) exit(3); +@i{34} hwindow = strtim(".05"); window = 2*hwindow + 1; +@i{35} for (i = 0; i < nsig; i++) +@i{36} if ((sum[i]=(long *)calloc(window,sizeof(long))) == NULL) @{ +@i{37} fprintf(stderr, "%s: insufficient memory\n", argv[0]); +@i{38} exit(2); +@i{39} @} @i{40} btype = (argc > 3) ? strann(argv[3]) : NORMAL; @i{41} if (argc > 4) iannsettime(strtim(argv[4])); @i{42} if (argc > 5) @{ @@ -6378,20 +6448,24 @@ @end example @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example9.c} +for a copy of this program.) + +@noindent @strong{Notes:} @table @emph -@item Lines 33--37: -Here we allocate memory for the @code{sum} vectors that will be used to -store the running totals. See @cite{K&R}, page 167, for a description -of @code{calloc}. - -@item Line 39: +@item Line 34: The ``half-window'' is 50 milliseconds wide, and the ``window'' (the duration of a segment to be entered into the average) is one sample more than twice that amount (i.e., 50 milliseconds to either side of the fiducial point defined by the annotation). +@item Lines 35--39: +Here we allocate memory for the @code{sum} vectors that will be used to +store the running totals. See @cite{K&R}, page 167, for a description +of @code{calloc}. + @item Line 40: If a third argument is present on the command line, it is taken as an annotation code mnemonic for the desired beat type; otherwise, the @@ -6548,6 +6622,10 @@ @end example @noindent +(See @uref{http://www.physionet.org/physiotools/wfdb/examples/example10.c} +for a copy of this program.) + +@noindent @strong{Notes:} @table @emph @@ -6788,7 +6866,7 @@ Database record @file{200}. (This record is available on PhysioNet. If you have a NETFILES-enabled WFDB library, use the default WFDB path, and open record @file{mitdb/200}; otherwise, download the record from -@code{http://www.physio@-net.org/physio@-bank/data@-base/mitdb/}.) Read the +@uref{http://www.physio@-net.org/physio@-bank/data@-base/mitdb/}.) Read the documentation on the annotation comparator, @file{bxb}, and figure out how to use it to compare the annotation file produced by your program against the reference annotator @file{atr}. How does your detector compare to Example @@ -7121,13 +7199,15 @@ @item NETFILES @cindex NETFILES (defined) +@cindex libwww +@cindex W3C libwww WFDB files made available by an FTP or HTTP (web) server; readable by applications linked with a NETFILES-enabled WFDB library. A NETFILES-enabled WFDB library can be created by compiling the WFDB library sources with the symbol @code{WFDB_NETFILES} defined (to anything; its value is not important, only that it is defined) and then linking them with the @code{libwww} library available from the World Wide Web -Consortium (@code{http://www.w3.org/Library/}). +Consortium (@uref{http://www.w3.org/Library/}). @item 9-track tape @cindex nine-track tape (defined) @@ -7163,9 +7243,9 @@ @cindex PhysioNet The home of the WFDB library, and a source for recorded physiologic signals and software for use with them. All materials on PhysioNet are freely available. -The main PhysioNet server is @code{http://www.@-physio@-net.@-org/}, located at +The main PhysioNet server is @uref{http://www.@-physio@-net.@-org/}, located at MIT in Cambridge, Massachusetts; PhysioNet mirror sites are located around the -world (see @code{http://www.@-physio@-net.@-org/@-mirrors/} for a list). +world (see @uref{http://www.@-physio@-net.@-org/@-mirrors/} for a list). @item Piped record @cindex piped record (defined) @@ -7365,33 +7445,37 @@ @unnumberedsec How to obtain the WFDB Software Package The latest version of the WFDB Software Package can always be downloaded in -source form from PhysioNet and its mirrors (see -@code{http://www.physio@-net.org/physio@-tools/wfdb.shtml}); binaries for -popular operating systems and development snapshots, as well as quick-start -guides including installation notes for popular operating systems, are also -usually available there. +source form from PhysioNet +(@uref{http://www.physio@-net.org/physio@-tools/wfdb.shtml}) and its mirrors; +binaries for popular operating systems and development snapshots, as well as +quick-start guides including installation notes for popular operating systems, +are also usually available there. @node Unix installation, MS-Windows installation, Distribution, Installation @unnumberedsec Unix, GNU/Linux, and similar operating systems +@cindex libwww +@cindex W3C libwww + Before beginning the installation of the WFDB Software Package, obtain and -install the @code{libwww} package from @code{http://www.w3.org/Library/} or -from @code{http://@-www.physio@-net.org/physio@-tools/libwww/}. This package +install the @code{libwww} package from @uref{http://www.w3.org/Library/} or +from @uref{http://@-www.physio@-net.org/physio@-tools/libwww/}. This package is provided with most current versions of GNU/Linux. (If you have a program called @code{libwww-config}, then @code{libwww} is installed already.) You may omit this step if you do not wish to have NETFILES support. -Also download and install the @code{XView} software from -@code{http://www.physio@-net.org/physio@-tools/xview/} if you wish to use -@emph{WAVE}. Sources are available, as are binaries for several versions of -GNU/Linux. If you are using SunOS or Solaris, XView binaries are available in -the Open Look Software Development package and may be installed already. (If -you have a program called @code{textedit}, then @code{XView} is installed -already.) If you are able to use an existing set of binaries, these are -recommended, since the sources may take a @emph{long} time to compile. Be sure -that the directory containing @code{textedit}, usually @code{/usr/openwin/bin}, -is in your @code{PATH}. You may omit this step if you do not wish to use -@emph{WAVE}. +@cindex XView toolkit + +If you wish to use @emph{WAVE}, also download and install the @code{XView} +software from @uref{http://www.physio@-net.org/physio@-tools/xview/}. Sources +are available, as are binaries for several versions of GNU/Linux. If you are +using SunOS or Solaris, XView binaries are available in the Open Look Software +Development package and may be installed already. (If you have a program +called @code{textedit}, then @code{XView} is installed already.) If you are +able to use an existing set of binaries, these are recommended, since the +sources may take a @emph{long} time to compile. Be sure that the directory +containing @code{textedit}, usually @code{/usr/openwin/bin}, is in your +@code{PATH}. You may omit this step if you do not wish to use @emph{WAVE}. If you have downloaded the software from PhysioNet or another source, you will have a @code{gzip}-compressed @code{tar} archive. Unpack it using @@ -7430,7 +7514,7 @@ @unnumberedsec MS-Windows If you have not already done so, install the Cygwin development environment -(freely available from @code{http://www.cygwin.com}). This +(freely available from @uref{http://www.cygwin.com}). This includes @code{gcc} (the GNU C/C++ compiler) as well as a comprehensive assortment of other Unix utilities ported to MS-Windows. Accept the defaults suggested by the installer. @@ -7442,9 +7526,12 @@ commercial C compilers, although you will need to customize them for your compiler. Your feedback is appreciated. +@cindex libwww +@cindex W3C libwww + Before beginning the installation of the WFDB Software Package, obtain and -install the @code{libwww} package from @code{http://www.w3.org/Library/} or -from @code{http://@-www.physio@-net.org/physio@-tools/libwww/}. You may +install the @code{libwww} package from @uref{http://www.w3.org/Library/} or +from @uref{http://@-www.physio@-net.org/physio@-tools/libwww/}. You may omit this step if you do not wish to have NETFILES support. Open a Cygwin terminal window (the Cygwin installer will have added this to @@ -7510,7 +7597,7 @@ @node Other installation, , MS-Windows installation, Installation @unnumberedsec Other systems -Copy the contents of @code{http://www.@-physio.@-net/physio@-tools/wfdb/} to +Copy the contents of @uref{http://www.@-physio@-net/physio@-tools/wfdb/} to your hard disk. Note that the text files are in Unix format (i.e., lines are terminated by ASCII line-feed characters only). If your system expects text files in MS-DOS format (with both a carriage return and a line-feed at the end @@ -8024,11 +8111,14 @@ This section is a compendium of sources for databases and related materials that may be useful to readers of this guide. Please send any -corrections to the author (@code{george@@mit.edu}). +corrections to the author (@email{george@@mit.edu}). @table @emph @cindex MIT DB @cindex waveform editor +@cindex libwww +@cindex W3C libwww +@cindex XView toolkit @item WFDB Programmer's Guide (this guide) @itemx WFDB Applications Guide @itemx WAVE User's Guide @@ -8038,9 +8128,11 @@ @itemx MIMIC Database @itemx Other reference databases of physiologic signals @itemx WFDB Software Package +@itemx W3C libwww sources +@itemx XView toolkit (needed for WAVE) @sp 1 @display -WWW: @code{http://www.physionet.org/} +WWW: @uref{http://www.physionet.org/} @end display PhysioNet offers free access via the web to large collections of @@ -8050,7 +8142,7 @@ Research Resources of the National Institutes of Health. The master PhysioNet web server is located at MIT in Cambridge, Massachusetts; about ten public mirrors are located elsewhere in the US and around -the world (see @code{http://@-www.@-physio@-net.@-org/@-mirrors/} for a list). +the world (see @uref{http://@-www.@-physio@-net.@-org/@-mirrors/} for a list). @cindex CD-ROM @cindex MIT DB @@ -8065,7 +8157,7 @@ 77 Massachusetts Ave. Cambridge, MA 02139 USA -e-mail: @code{george@@mit.edu} +email: @email{george@@mit.edu} WWW: http://ecg.mit.edu/ telephone: +1 617 253 7424 @end display @@ -8082,7 +8174,7 @@ via Trieste, 41 56126 PISA, Italy -e-mail: @code{taddei@@ifc.pi.cnr.it} +email: @email{taddei@@ifc.pi.cnr.it} telephone: +39 050 501145 telefax: +39 050 503596 @end display @@ -8095,8 +8187,8 @@ 5200 Butler Pike Plymouth Meeting, PA 19462 USA -e-mail: @code{hshupack@@shrsys.hslc.org} -WWW: @code{http://www.healthcare.ecri.org/} +email: @email{hshupack@@shrsys.hslc.org} +WWW: @uref{http://www.healthcare.ecri.org/} telephone: +1 610 825 6000 @end display @@ -8110,7 +8202,7 @@ Fruit St. Boston, MA 02114 USA -e-mail: @code{cooper@@etherdome.mgh.harvard.edu} +email: @email{cooper@@etherdome.mgh.harvard.edu} telephone: +1 617 726 8824 @end display @@ -8127,7 +8219,7 @@ 1110 N Glebe Road, Suite 220 Arlington, VA 22201 USA -WWW: @code{http://www.aami.org/} +WWW: @uref{http://www.aami.org/} telephone: +1 703 525 4890 telefax: +1 703 276 0793 @end display @@ -8135,7 +8227,7 @@ @item Computers in Cardiology @sp 1 @display -WWW: @code{http://www.cinc.org/} +WWW: @uref{http://www.cinc.org/} @end display CinC is the major scientific meeting at which current research in ECG signal @@ -8157,8 +8249,8 @@ P.O. Box 1331 Piscataway, NJ 08855-1331 USA -e-mail: @code{customer.service@@ieee.org} -WWW: @code{http://www.ieee.org/ieeestore/} +email: @email{customer.service@@ieee.org} +WWW: @uref{http://www.ieee.org/ieeestore/} telephone: 1 800 678 IEEE (USA and Canada) or +1 732 981 0060 telefax: +1 732 981 9667 @end display @@ -8179,8 +8271,8 @@ 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA -e-mail: @code{gnu@@gnu.org} -WWW: @code{http://www.gnu.org/} +email: @email{gnu@@gnu.org} +WWW: @uref{http://www.gnu.org/} telephone: +1 617 542 5942 @end display GNU software is included in all Linux distributions (in fact, since Linux @@ -8199,7 +8291,7 @@ Archive Network) mirrors, including @code{ftp.tex.ac.uk}, @code{ftp.dante.de}, and @code{ctan.tug.org}. Many of the sources of GNU software (above) also make @TeX{}, etc. available. CTAN is indexed on the World Wide Web (one such index -is @file{http://ctan.tug.org/ctan/}). +is @uref{http://www.ctan.org/}). The Unix @TeX{} distribution is also distributed on CD-ROM and in other tape formats by the Free Software Foundation (address above) and others. It is @@ -8216,33 +8308,39 @@ PO Box 2311 Portland, OR 97208-2311 USA -WWW: @code{http://www.tug.org/} -e-mail: @code{office@@tug.org} +WWW: @uref{http://www.tug.org/} +email: @email{office@@tug.org} telephone: +1 503 223 3960 telefax: +1 503 223 9994 @end display +@cindex libwww +@cindex W3C libwww +@item W3C libwww libraries +@sp 1 +@display + +WWW: @uref{http://www.w3.org/Library/} +@end display + +The @code{libwww} libraries, created and maintained by the World Wide +Web Consortium, provide the low-level functions needed to support +the WFDB library's (optional) NETFILES capability. The @code{libwww} +libraries are also available from PhysioNet. + @cindex X11 @cindex X Window System @item X11R6 (the X Window System, Version 11, Release 6) -@itemx XView @sp 1 @display -The Open Group -29B Montvale Ave. -Woburn, MA 01801 USA -e-mail: @code{xorg_info@@x.org} -WWW: @code{http://www.x.org/} +email: @code{xorg_info@@x.org} +WWW: @uref{http://www.x.org/} telephone: +1 781 376 8200 telefax: +1 781 376 9358 @end display -These packages are freely available by anonymous FTP from -ftp.x.org and other archive sites. X11R6 sources are also available -on CD-ROM from the Free Software Foundation (address above). - -Sources for XView are also available from PhysioNet. +Sources for XView are available from PhysioNet. @cindex GNU/Linux @cindex Linux @@ -8253,7 +8351,7 @@ 486, and Pentium PCs, among others. For information about GNU/Linux, visit the web site of the Linux Documentation Project: @display -@code{WWW: http://www.linuxdoc.org/} +WWW: @uref{http://www.linuxdoc.org/} @end display GNU/Linux is freely available by anonymous FTP in source and binary form from @@ -8268,34 +8366,41 @@ are widely available. Among the more popular are: @display -Caldera Systems, Inc. -240 West Center Street -Orem, UT 84057 USA - -e-mail: @code{info@@caldera.com} -WWW: @code{http://www.caldera.com/} -telephone: +1 801 765 4999 -telefax: +1 801 765 1313 +Debian (non-commercial) + +WWW: @uref{http://www.debian.org/} -Debian +Gentoo (non-commercial) -WWW: @code{http://www.debian.org/} +WWW: @uref{http://www.gentoo.org/} + + +MandrakeSoft S.A. +43, rue d'Aboukir +75002 Paris +France + +email: @email{webmaster@@linux-mandrake.com} +WWW: @uref{http://www.linux-mandrake.com/} +telephone: +1 626 296 6290 (USA), +33(0) 1 40 41 00 41 (France) +telefax: +1 801 765 1313 Red Hat 2600 Meridian Parkway Durham, NC 27713 -e-mail: @code{orders@@redhat.com} -WWW: @code{http://www.redhat.com/} +email: @email{orders@@redhat.com} +WWW: @uref{http://www.redhat.com/} telephone: 1 888 733 4281 (USA and Canada) or +1 919 547 0012 telefax: +1 919 547 0024 Slackware -WWW: @code{http://www.slackware.com/} +email: @email{info@@slackware.com} +WWW: @uref{http://www.slackware.com/} S.u.S.E. GmbH @@ -8303,8 +8408,8 @@ D-90443 Nurnberg Germany -e-mail: @code{suse@@suse.de} -WWW: @code{http://www.suse.de/} (Germany), @code{http://www.suse.com/} (USA) +email: @email{suse@@suse.de} +WWW: @uref{http://www.suse.de/} (Germany), @uref{http://www.suse.com/} (USA) telephone: +49 911 74053 31 telefax: +49 911 7417755 @end display @@ -8330,7 +8435,7 @@ @cindex Cygwin @item Cygwin -WWW: @code{http://www.cygwin.com/} +WWW: @uref{http://www.cygwin.com/} This is a freely available software development platform for MS-Windows 9x/NT/2000/ME/XP, based on GNU @code{gcc} and a large set of Unix @@ -8344,7 +8449,7 @@ @cindex MinGW @item MinGW -WWW: @code{http://www.mingw.org/} +WWW: @uref{http://www.mingw.org/} This is another freely available software development platform for MS-Windows, also based on @code{gcc} and many of the same utilities as @@ -8353,7 +8458,7 @@ @cindex djgpp @item djgpp -WWW: @code{http://www.delorie.com/djgpp/} +WWW: @uref{http://www.delorie.com/djgpp/} A freely available software development platform for MS-DOS, including @code{gcc}, a free 32-bit DOS extender, and many of the same utilties @@ -8366,8 +8471,8 @@ 2265 116th Avenue N.E. Bellevue, WA 98004 USA -e-mail: @code{info@@mstarlabs.com/} -WWW: @code{http://www.mstarlabs.com/} +email: @email{info@@mstarlabs.com/} +WWW: @uref{http://www.mstarlabs.com/} telephone: +1 425 453 2345 telefax: +1 425 453 3199 @end display @@ -8381,15 +8486,15 @@ @display Netscape FTP: @code{ftp.netscape.com} -WWW: @code{http://www.netscape.com/} +WWW: @uref{http://www.netscape.com/} Mozilla FTP: @code{ftp.mozilla.org} -WWW: @code{http://www.mozilla.org/} +WWW: @uref{http://www.mozilla.org/} MS Internet Explorer FTP: @code{ftp.microsoft.com} -WWW: @code{http://www.microsoft.com/} +WWW: @uref{http://www.microsoft.com/} @end display @end table @@ -8508,6 +8613,7 @@ WFDB Programmer's Guide Tenth Edition (revised and with additions for WFDB library version VERSION) +LONGDATE George B. Moody diff -Naur wfdb-10.2.8/doc/wug-src/Makefile wfdb-10.2.9/doc/wug-src/Makefile --- wfdb-10.2.8/doc/wug-src/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/doc/wug-src/Makefile Sun Oct 27 00:05:34 2002 @@ -55,12 +55,12 @@ # PostScript 'make wug.ps' (requires latex and dvips) # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -77,8 +77,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ diff -Naur wfdb-10.2.8/examples/Makefile wfdb-10.2.9/examples/Makefile --- wfdb-10.2.8/examples/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/examples/Makefile Sun Oct 27 00:05:34 2002 @@ -34,12 +34,12 @@ # `make clean' to remove them. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -56,8 +56,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ @@ -182,16 +182,19 @@ lib-post-uninstall: echo "Nothing to be done for lib-post-uninstall" # _____________________________________________________________________________ -# file: Makefile.tpl G. Moody 23 May 2000 -# Last revised: 30 May 2002 +# file: Makefile.tpl G. Moody 23 May 2000 +# Last revised: 26 October 2002 # This section of the Makefile should not need to be changed. -CFILES = psamples.c psamplex.c exgetvec.c exputvec.c exannstr.c example1.c \ - example2.c example3.c example4.c example5.c example6.c example7.c example8.c \ - example9.c example10.c refhr.c -XFILES = psamples psamplex exgetvec exputvec exannstr example1 example2 \ - example3 example4 example5 example6 example7 example8 example9 example10 refhr -MFILES = Makefile makefile.dos +CFILES = example1.c example2.c example3.c example4.c example5.c example6.c \ + example7.c example8.c example9.c example10.c exannstr.c exgetann.c \ + exgetvec.c exputvec.c pgain.c psamples.c psamplex.c refhr.c stdev.c \ + wfdbversion.c +XFILES = example1 example2 example3 example4 example5 example6 \ + example7 example8 example9 example10 exannstr exgetann \ + exgetvec exputvec pgain psamples psamplex refhr stdev \ + wfdbversion +MFILES = Makefile Makefile.dos # General rule for compiling C sources into executable files. This is # redundant for most versions of `make', but at least one System V version diff -Naur wfdb-10.2.8/examples/Makefile.dos wfdb-10.2.9/examples/Makefile.dos --- wfdb-10.2.8/examples/Makefile.dos Wed May 24 22:35:27 2000 +++ wfdb-10.2.9/examples/Makefile.dos Sat Oct 26 15:00:45 2002 @@ -1,19 +1,26 @@ # file: makefile.dos G. Moody 2 November 1989 -# Last revised: 7 May 1999 -# MSDOS `make' description file template for WFDB example programs +# Last revised: 26 October 2002 +# MS-DOS/Windows `make' description file template for WFDB example programs +# +# WARNING: NO SUPPORT FOR PROPRIETARY COMPILERS. Previous versions of the WFDB +# software package have been compiled successfully by other users using various +# proprietary compilers including those mentioned below. You may find this +# file helpful if you wish to use one of these compilers, but no support can be +# provided in this case. If you cannot successfully compile this software +# using a proprietary compiler, please try using Cygwin/gcc or MinGW/gcc under +# MS-Windows, or DJGPP under MS-DOS (free from http://www.cygwin.com/, +# http://www.mingw.org/, or http://www.delorie.com/ respectively). +# +# Before using this file, define these variables as appropriate for your +# compiler: # -# This file is a template for a `make' description file generated by `install', -# which generates `makefile' by concatenating `dbconfig' with this file (and -# stripping out comments). To use this file without `install', define these -# variables as appropriate for your system: - # CC The name of the command-line C compiler. # CDFLAGS Optional arguments to be supplied to CC to produce object files # with debugging symbols. # COFLAGS Optional arguments to be supplied to CC to produce optimized # object files (or normal object files if no optimization is # available). -# LWFDB CC option to link with the standard WFDB library. +# LDFLAGS CC options to link with the WFDB library. # Commands needed to compile the WFDB example programs are given below for # several versions of `make'. @@ -35,17 +42,17 @@ # next line. # CFLAGS = $(CDFLAGS) -# Except as noted at the end of this file, it should not be necessary to modify -# anything below this line. +# It should not be necessary to modify anything below this line. # ----------------------------------------------------------------------------- -XFILES = psamples.exe exgetvec.exe exputvec.exe exannstr.exe example1.exe \ - example2.exe example3.exe example4.exe example5.exe example6.exe \ - example7.exe example8.exe example9.exe exampl10.exe refhr.exe +XFILES = example1.exe example2.exe example3.exe example4.exe example5.exe \ + example6.exe example7.exe example8.exe example9.exe example10.exe \ + exannstr.exe exgetann.exe exgetvec.exe exputvec.exe psamples.exe \ + psamplex.exe refhr.exe stdev.exe wfdbversion.exe # General rule for compiling C sources into executable files .c.exe: - $(CC) $(CFLAGS) $*.c $(LWFDB) + $(CC) $(CFLAGS) $*.c $(LDFLAGS) clean: del *.obj diff -Naur wfdb-10.2.8/examples/Makefile.tpl wfdb-10.2.9/examples/Makefile.tpl --- wfdb-10.2.8/examples/Makefile.tpl Thu May 30 11:39:49 2002 +++ wfdb-10.2.9/examples/Makefile.tpl Sat Oct 26 14:48:46 2002 @@ -1,13 +1,16 @@ -# file: Makefile.tpl G. Moody 23 May 2000 -# Last revised: 30 May 2002 +# file: Makefile.tpl G. Moody 23 May 2000 +# Last revised: 26 October 2002 # This section of the Makefile should not need to be changed. -CFILES = psamples.c psamplex.c exgetvec.c exputvec.c exannstr.c example1.c \ - example2.c example3.c example4.c example5.c example6.c example7.c example8.c \ - example9.c example10.c refhr.c -XFILES = psamples psamplex exgetvec exputvec exannstr example1 example2 \ - example3 example4 example5 example6 example7 example8 example9 example10 refhr -MFILES = Makefile makefile.dos +CFILES = example1.c example2.c example3.c example4.c example5.c example6.c \ + example7.c example8.c example9.c example10.c exannstr.c exgetann.c \ + exgetvec.c exputvec.c pgain.c psamples.c psamplex.c refhr.c stdev.c \ + wfdbversion.c +XFILES = example1 example2 example3 example4 example5 example6 \ + example7 example8 example9 example10 exannstr exgetann \ + exgetvec exputvec pgain psamples psamplex refhr stdev \ + wfdbversion +MFILES = Makefile Makefile.dos # General rule for compiling C sources into executable files. This is # redundant for most versions of `make', but at least one System V version diff -Naur wfdb-10.2.8/examples/README wfdb-10.2.9/examples/README --- wfdb-10.2.8/examples/README Thu Jun 24 11:38:29 1999 +++ wfdb-10.2.9/examples/README Sat Oct 26 09:01:53 2002 @@ -1,28 +1,25 @@ file: README G. Moody 28 July 1989 - Last revised: 7 May 1999 + Last revised: 26 October 2002 -This directory contains sources for the example programs in the WFDB -Programmer's Guide. See the Guide for details on the programs. +This directory contains sources for the C-language example programs in the WFDB +Programmer's Guide. The Fortran examples are in ../fortran/. See the Guide +for details on the programs. -If you have not previously tried to use WFDB applications, you may not have -set the database path (the environment variable WFDB). Read the comments on -this subject in the Guide before trying to use these programs. The templates -in the `app' directory at the same level as this one may be helpful. +For information about `stdev.c', see the WAVE User's Guide. A note about `refhr.c' ---------------------- The file `refhr.c' is a sample implementation of a program for obtaining reference heart rate data, as described in `Evaluating ECG Analyzers', an -appendix to the WFDB Applications Guide. (The source for this appendix -is `eval.tex' in the `doc' directory at the same level as this one.) If you -need to evaluate the accuracy of heart rate measurements made by an ECG -analyzer, modify `refhr.c' so that it uses the measurement algorithms made by -the analyzer rather than the sample algorithms provided. (You may wish to -compile and run the version of `refhr' provided here first, in order to see -how it works, but this will not be useful for testing your analyzer's heart -rate measurements unless your analyzer happens to use one of the algorithms -provided in the sample implementation of `refhr'.) +appendix to the WFDB Applications Guide. If you need to evaluate the accuracy +of heart rate measurements made by an ECG analyzer, modify `refhr.c' so that it +uses the measurement algorithms made by the analyzer rather than the sample +algorithms provided. (You may wish to compile and run the version of `refhr' +provided here first, in order to see how it works, but this will not be useful +for testing your analyzer's heart rate measurements unless your analyzer +happens to use one of the algorithms provided in the sample implementation of +`refhr'.) Compile and run your modified version of `refhr', providing it with the reference (`atr') annotation files for your test database as input. Collect @@ -30,6 +27,5 @@ it records its heart rate measurements in output annotation files, in the same format as those produced by `refhr', and run your analyzer, providing it with the signals from your test database as input. Finally, use `mxm' and -`sumstats' (in the `app' directory at the same level as this one) to compare -the annotation files generated by your analyzer and by your modified version of -`refhr'. +`sumstats' (in ../app) to compare the annotation files generated by your +analyzer and by your modified version of `refhr'. diff -Naur wfdb-10.2.8/examples/dblibver.c wfdb-10.2.9/examples/dblibver.c --- wfdb-10.2.8/examples/dblibver.c Thu Jun 24 11:38:29 1999 +++ wfdb-10.2.9/examples/dblibver.c Wed Dec 31 19:00:00 1969 @@ -1,7 +0,0 @@ -#include -#include - -main() -{ - printf("%s", wfdberror()); -} diff -Naur wfdb-10.2.8/examples/example9.c wfdb-10.2.9/examples/example9.c --- wfdb-10.2.8/examples/example9.c Mon Oct 15 12:07:14 2001 +++ wfdb-10.2.9/examples/example9.c Fri Oct 25 17:20:15 2002 @@ -30,13 +30,13 @@ fprintf(stderr, "%s: insufficient memory\n", argv[0]); exit(2); } + if (wfdbinit(argv[2], &a, 1, s, nsig) != nsig) exit(3); + hwindow = strtim(".05"); window = 2*hwindow + 1; for (i = 0; i < nsig; i++) if ((sum[i]=(long *)calloc(window,sizeof(long))) == NULL) { fprintf(stderr, "%s: insufficient memory\n", argv[0]); exit(2); } - if (wfdbinit(argv[2], &a, 1, s, nsig) != nsig) exit(3); - hwindow = strtim(".05"); window = 2*hwindow + 1; btype = (argc > 3) ? strann(argv[3]) : NORMAL; if (argc > 4) iannsettime(strtim(argv[4])); if (argc > 5) { diff -Naur wfdb-10.2.8/examples/exgetann.c wfdb-10.2.9/examples/exgetann.c --- wfdb-10.2.8/examples/exgetann.c Wed Dec 31 19:00:00 1969 +++ wfdb-10.2.9/examples/exgetann.c Sun Oct 27 00:02:21 2002 @@ -0,0 +1,14 @@ +#include + +main() +{ + WFDB_Anninfo a; + WFDB_Annotation annot; + + a.name = "atr"; a.stat = WFDB_READ; + if (annopen("100s", &a, 1) < 0) + exit(1); + while (getann(0, &annot) == 0) + printf("%s %s\n", mstimstr(annot.time), annstr(annot.anntyp)); + exit(0); +} diff -Naur wfdb-10.2.8/examples/pgain.c wfdb-10.2.9/examples/pgain.c --- wfdb-10.2.8/examples/pgain.c Wed Dec 31 19:00:00 1969 +++ wfdb-10.2.9/examples/pgain.c Sat Oct 26 08:45:59 2002 @@ -0,0 +1,17 @@ +#include +#include + +main() +{ + int i, nsig; + WFDB_Siginfo *siarray; + + nsig = isigopen("100s", NULL, 0); + if (nsig < 1) + exit(1); + siarray = (WFDB_Siginfo *)malloc(nsig * sizeof(WFDB_Siginfo)); + nsig = isigopen("100s", siarray, nsig); + for (i = 0; i < nsig; i++) + printf("signal %d gain = %g\n", i, siarray[i].gain); + exit(0); +} diff -Naur wfdb-10.2.8/examples/wfdbversion.c wfdb-10.2.9/examples/wfdbversion.c --- wfdb-10.2.8/examples/wfdbversion.c Wed Dec 31 19:00:00 1969 +++ wfdb-10.2.9/examples/wfdbversion.c Sat Oct 26 08:41:11 2002 @@ -0,0 +1,6 @@ +#include + +main() +{ + printf("%s", wfdberror()); +} diff -Naur wfdb-10.2.8/lib/Makefile wfdb-10.2.9/lib/Makefile --- wfdb-10.2.8/lib/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/lib/Makefile Sun Oct 27 00:05:34 2002 @@ -1,6 +1,6 @@ # file: Makefile G. Moody 6 July 1983 -# Last revised: 22 May 2000 Version 10.1.4 -# UNIX 'make' description file for compiling the WFDB library +# Last revised: 26 October 2002 Version 10.2.9 +# 'make' description file for compiling the WFDB library # # _____________________________________________________________________________ # wfdb: a library for reading and writing annotated waveforms(time series data) @@ -33,12 +33,12 @@ # type `make slib'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -160,8 +160,8 @@ rm -f $(LIBDIR)/$(WFDBLIB_SONAME) @$(LDCONFIG) || echo Warning: "$(LDCONFIG)" was unsuccessful #______________________________________________________________________________ -# file: Makefile.tpl G. Moody 24 May 2000 -# Last revised: 18 July 2000 +# file: Makefile.tpl G. Moody 24 May 2000 +# Last revised: 26 October 2002 # This section of the Makefile should not need to be changed. INCLUDES = $(INCDIR)/wfdb/wfdb.h $(INCDIR)/wfdb/ecgcodes.h \ @@ -171,7 +171,7 @@ HFILES = wfdb.h ecgcodes.h ecgmap.h wfdblib.h CFILES = wfdbinit.c annot.c signal.c calib.c wfdbio.c OFILES = wfdbinit.o annot.o signal.o calib.o wfdbio.o -MFILES = Makefile makefile.dos +MFILES = Makefile Makefile.dos # `make' or `make all': build the WFDB library all: $(OFILES) diff -Naur wfdb-10.2.8/lib/Makefile.dos wfdb-10.2.9/lib/Makefile.dos --- wfdb-10.2.8/lib/Makefile.dos Wed May 24 22:35:27 2000 +++ wfdb-10.2.9/lib/Makefile.dos Sat Oct 26 15:11:14 2002 @@ -1,6 +1,6 @@ # file: Makefile.dos G. Moody 2 November 1989 -# Last revised: 21 January 2000 wfdblib 10.1.1 -# MSDOS `make' description file template for compiling the WFDB library +# Last revised: 26 October 2002 wfdblib 10.2.9 +# MSDOS/Windows `make' description file template for compiling the WFDB library # # _____________________________________________________________________________ # wfdb: a library for reading and writing annotated waveforms(time series data) @@ -25,12 +25,20 @@ # please visit PhysioNet (http://www.physionet.org/). # _____________________________________________________________________________ # -# This file is a template for a `make' description file generated by `install', -# which generates `makefile' by concatenating `wfdbconf' with this file (and -# stripping out comments). To use this file without `install', define these -# variables as appropriate for your system (see below for suitable settings -# for several popular C/C++ compilers): - +# +# WARNING: NO SUPPORT FOR PROPRIETARY COMPILERS. Previous versions of the WFDB +# software package have been compiled successfully by other users using various +# proprietary compilers including those mentioned below. You may find this +# file helpful if you wish to use one of these compilers, but no support can be +# provided in this case. If you cannot successfully compile this software +# using a proprietary compiler, please try using Cygwin/gcc or MinGW/gcc under +# MS-Windows, or DJGPP under MS-DOS (free from http://www.cygwin.com/, +# http://www.mingw.org/, or http://www.delorie.com/ respectively). +# +# Before using this file, define these variables as appropriate for your +# compiler (see below for suitable settings for several popular C/C++ +# compilers): +# # CC The name of the command-line C compiler. # CDFLAGS Optional arguments to be supplied to CC to produce object files # with debugging symbols. @@ -39,16 +47,13 @@ # COFLAGS Optional arguments to be supplied to CC to produce optimized # object files (or normal object files if no optimization is # available). -# WFDBLIB The name of the standard (small memory model) WFDB library. -# WFDBLLIB The name of the large memory model WFDB library. +# WFDBLIB The name of the static (large memory model) WFDB library. # WFDBDLL The name of the large memory model WFDB dynamic link library # (DLL) for use with MS Windows applications. -# WFDBDLLDEF The name of the WFDB DLL export definition file. Two versions -# are provided (wfdbdll.def, for Microsoft C/C++, and -# twfdbdll.def, for Borland or Turbo C/C++). The only -# difference between them is in the first line, which specifies -# the base name of the export library (WFDB for Microsoft C/C++, -# TWFDB for Borland or Turbo C/C++). +# WFDBDLLDEF The name of the WFDB DLL export definition file. If you +# compile versions of the WFDB DLL using mutually incompatible +# compilers, make sure that the library name in the first line +# of this file is unique for each version. # WFDBILIB The name of the import library corresponding to WFDBDLL. # INCDIR One of the directories searched by CC for #include <...> # files. For Microsoft C, use one of the directories specified @@ -56,7 +61,7 @@ # or Borland C, it may be most convenient to use the directory # in which the standard headers reside (e.g., \tc\include or # \bc4\include). The WFDB library *.h files will be installed -# in the `ecg' subdirectory of INCDIR. +# in the `wfdb' subdirectory of INCDIR. # LB The name by which the program that constructs libraries from # object files is invoked from the command line. # LBPUNCT The punctuation that is appended to the list of object files @@ -67,7 +72,6 @@ # find it most convenient to use the directory in which the # standard libraries reside (e.g., \tc\lib or \bc4\lib). # The WFDB libraries will be installed in LIBDIR. -# ML CC option to compile for the large memory model. INCDIR = c:\include LIBDIR = c:\lib @@ -81,11 +85,11 @@ LBARG = +wfdbinit+annot+signal+calib+wfdbio # The value of TARGETS specifies which versions of the WFDB library will be -# compiled. TARGETS may include one or more of `small', `large', and `dll'. +# compiled. TARGETS may include one or more of `static', and `dll'. # Successful compilation of the DLL version requires the MS Windows SDK or # equivalent (supplied with MS C/C++ 7.0, MS Visual C++, Borland C/C++, Turbo # C for Windows, and available separately for many other C compilers). -TARGETS = small large dll +TARGETS = static dll # The next two sections illustrate settings suitable for use with several # popular C/C++ compilers. Note that the particular names chosen for the @@ -96,11 +100,10 @@ # If you are using Microsoft C, uncomment the next 15 lines. # CC = cl -# CDFLAGS = -Od -Za -Zi -DMSDOS -DUSE_FREAD +# CDFLAGS = -Od -Za -Zi -DMSDOS -DUSE_FREAD -Ml # CDLLFLAGS = -ALw -Gsw -Os -W3 -D_WINDLL -DUSE_FREAD -DUSE_FWRITE -# COFLAGS = -Ox -Za -DMSDOS -DUSE_FREAD +# COFLAGS = -Ox -Za -DMSDOS -DUSE_FREAD -Ml # WFDBLIB = wfdb.lib -# WFDBLLIB = wfdbl.lib # WFDBDLL = wfdb.dll # WFDBDLLDEF = wfdbdll.def # WFDBILIB = wfdbdll.lib @@ -108,24 +111,21 @@ # LBPUNCT = ,; # LINKDLL = link libentry$(LBARG), $(WFDBDLL), wfdb.map/map, ldllcew.lib \ # libw.lib/noe/nod,$(WFDBDLLDEF) -# ML = -Ml # Q = \" # If you are using Borland C, uncomment the next 15 lines. CC = bcc -CDFLAGS = -Od -A -w- /V -DMSDOS +CDFLAGS = -Od -A -w- /V -DMSDOS -ml CDLLFLAGS = -Os -w- -ml -WD -D_WINDLL -DUSE_FREAD -DUSE_FWRITE -COFLAGS = -Ox -A -w- -DMSDOS -WFDBLIB = twfdb.lib -WFDBLLIB = twfdbl.lib -WFDBDLL = twfdb.dll -WFDBDLLDEF = twfdbdll.def -WFDBILIB = twfdbdll.lib +COFLAGS = -Ox -A -w- -DMSDOS -ml +WFDBLIB = wfdb.lib +WFDBDLL = wfdb.dll +WFDBDLLDEF = wfdbdll.def +WFDBILIB = wfdbdll.lib LB = tlib LBPUNCT = LINKDLL = tlink /c/x/P-/Twd c0dl$(LBARG), $(WFDBDLL), , import mathwl cwl,\ $(WFDBDLLDEF) -ML = -ml Q = \" # For Turbo C, uncomment the previous 14 lines and the next line. # CC = tcc @@ -157,25 +157,15 @@ $(LIBDIR): -mkdir $(LIBDIR) -# Build the small-model library -buildsmall: +# Build the static library +buildstatic: del $(WFDBLIB) - $(CC) -c $(CFLAGS) $(CFILES) - $(LB) $(WFDBLIB) $(LBARG)$(LBPUNCT) - -# Install the small-model library -small: buildsmall - copy $(WFDBLIB) $(LIBDIR) - -# Build the large-model library -buildlarge: - del $(WFDBLLIB) $(CC) -c $(CFLAGS) $(ML) $(CFILES) - $(LB) $(WFDBLLIB) $(LBARG)$(LBPUNCT) + $(LB) $(WFDBLIB) $(LBARG)$(LBPUNCT) # Install the large-model library -large: buildlarge - copy $(WFDBLLIB) $(LIBDIR) +static: buildstatic + copy $(WFDBLIB) $(LIBDIR) # Build the Windows DLL version of the library, and the import library builddll: @@ -195,10 +185,10 @@ # compiling WFDB applications that use the library.) headers: -mkdir $(INCDIR) - -mkdir $(INCDIR)\ecg - copy wfdb.h $(INCDIR)\ecg - copy ecgcodes.h $(INCDIR)\ecg - copy ecgmap.h $(INCDIR)\ecg + -mkdir $(INCDIR)\wfdb + copy wfdb.h $(INCDIR)\wfdb + copy ecgcodes.h $(INCDIR)\wfdb + copy ecgmap.h $(INCDIR)\wfdb install: $(LIBDIR) $(TARGETS) headers @@ -206,7 +196,6 @@ # the next five lines to avoid having `make' clean up automatically. clean: -del $(WFDBLIB) - -del $(WFDBLLIB) -del $(WFDBDLL) -del $(WFDBILIB) -del *.obj diff -Naur wfdb-10.2.8/lib/Makefile.top wfdb-10.2.9/lib/Makefile.top --- wfdb-10.2.8/lib/Makefile.top Thu May 25 20:29:40 2000 +++ wfdb-10.2.9/lib/Makefile.top Sat Oct 26 14:55:22 2002 @@ -1,6 +1,6 @@ # file: Makefile G. Moody 6 July 1983 -# Last revised: 22 May 2000 Version 10.1.4 -# UNIX 'make' description file for compiling the WFDB library +# Last revised: 26 October 2002 Version 10.2.9 +# 'make' description file for compiling the WFDB library # # _____________________________________________________________________________ # wfdb: a library for reading and writing annotated waveforms(time series data) diff -Naur wfdb-10.2.8/lib/Makefile.tpl wfdb-10.2.9/lib/Makefile.tpl --- wfdb-10.2.8/lib/Makefile.tpl Thu Jul 18 16:03:08 2002 +++ wfdb-10.2.9/lib/Makefile.tpl Sat Oct 26 14:53:36 2002 @@ -1,5 +1,5 @@ -# file: Makefile.tpl G. Moody 24 May 2000 -# Last revised: 18 July 2000 +# file: Makefile.tpl G. Moody 24 May 2000 +# Last revised: 26 October 2002 # This section of the Makefile should not need to be changed. INCLUDES = $(INCDIR)/wfdb/wfdb.h $(INCDIR)/wfdb/ecgcodes.h \ @@ -9,7 +9,7 @@ HFILES = wfdb.h ecgcodes.h ecgmap.h wfdblib.h CFILES = wfdbinit.c annot.c signal.c calib.c wfdbio.c OFILES = wfdbinit.o annot.o signal.o calib.o wfdbio.o -MFILES = Makefile makefile.dos +MFILES = Makefile Makefile.dos # `make' or `make all': build the WFDB library all: $(OFILES) diff -Naur wfdb-10.2.8/lib/README wfdb-10.2.9/lib/README --- wfdb-10.2.8/lib/README Thu Oct 25 15:01:33 2001 +++ wfdb-10.2.9/lib/README Sat Oct 26 12:00:17 2002 @@ -1,9 +1,9 @@ file: README G. Moody 1 July 1989 - Last revised: 25 October 2001 wfdblib 10.2.1 + Last revised: 26 October 2002 wfdblib 10.2.9 _______________________________________________________________________________ wfdb: a library for reading and writing annotated waveforms (time series data) -Copyright (C) 2001 George B. Moody +Copyright (C) 2002 George B. Moody This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free @@ -38,12 +38,12 @@ The following files will be found in this directory: COPYING.LIB the GNU Library General Public License -Makefile UNIX `make' description file for compiling the WFDB library - (generated by ../configure) -Makefile.top header for Makefile -Makefile.tpl template for Makefile -Makefile.dos MS-DOS `make' description file for compiling the WFDB library - using Microsoft `make' or `nmake', Borland `make', etc. +Makefile `make' description file for compiling the WFDB library using + ANSI/ISO standard C compilers on supported platforms +Makefile.dos `make' description file for compiling the WFDB library using + unsupported compilers from Borland, Microsoft, etc. +Makefile.top Used by ../configure to construct Makefile (comments only) +Makefile.tpl Used by ../configure to construct Makefile (portable section) README this file annot.c WFDB library functions for annotations calib.c WFDB library functions for signal calibration @@ -51,10 +51,9 @@ ecgcodes.h ECG annotation codes ecgmap.h ECG annotation code mapping macros signal.c WFDB library functions for signals -twfdbdll.def MS Windows DLL export definitions for Borland compilers wfdb.h WFDB library constant, structure, and function interface definitions -wfdbdll.def MS Windows DLL export definitions for MS compilers +wfdbdll.def MS Windows DLL export definitions wfdbinit.c WFDB library functions wfdbinit, wfdbquit, and wfdbflush wfdbio.c Low-level I/O functions for the WFDB library wfdblib.h External definitions for WFDB library functions (generated by diff -Naur wfdb-10.2.8/lib/twfdbdll.def wfdb-10.2.9/lib/twfdbdll.def --- wfdb-10.2.8/lib/twfdbdll.def Fri Jul 16 16:57:16 1999 +++ wfdb-10.2.9/lib/twfdbdll.def Wed Dec 31 19:00:00 1969 @@ -1,79 +0,0 @@ -LIBRARY TWFDB - -DESCRIPTION 'WFDB library, version 10.0.0 Copyright (C) George B. Moody 1999.' - -EXETYPE WINDOWS - -STUB 'WINSTUB.EXE' - -CODE PRELOAD MOVEABLE DISCARDABLE - -DATA PRELOAD MOVEABLE SINGLE - -HEAPSIZE 0 - -EXPORTS - annopen @1 - isigopen @2 - osigopen @3 - osigfopen @4 - wfdbinit @5 - getvec @6 - putvec @7 - getann @8 - ungetann @9 - putann @10 - isigsettime @11 - isgsettime @12 - iannsettime @13 - ecgstr @14 - strecg @15 - setecgstr @16 - annstr @17 - strann @18 - setannstr @19 - anndesc @20 - setanndesc @21 - timstr @22 - mstimstr @23 - strtim @24 - datstr @25 - strdat @26 - adumuv @27 - muvadu @28 - aduphys @29 - physadu @30 - calopen @31 - getcal @32 - putcal @33 - newcal @34 - flushcal @35 - getinfo @36 - putinfo @37 - newheader @38 - setheader @39 - wfdbquit @40 - sampfreq @41 - setsampfreq @42 - getcfreq @43 - setcfreq @44 - getbasecount @45 - setbasecount @46 - setbasetime @47 - wfdbquiet @48 - wfdbverbose @49 - wfdberror @50 - setwfdb @51 - getwfdb @52 - setibsize @53 - setobsize @54 - wfdbfile @55 - wfdbflush @56 - setgvmode @57 - getframe @58 - wfdbgetskew @59 - wfdbsetskew @60 - wfdbgetstart @61 - wfdbsetstart @62 - getspf @63 - WEP @64 RESIDENTNAME diff -Naur wfdb-10.2.8/lib/wfdb.h wfdb-10.2.9/lib/wfdb.h --- wfdb-10.2.8/lib/wfdb.h Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/lib/wfdb.h Sun Oct 27 00:05:34 2002 @@ -1,5 +1,5 @@ /* file: wfdb.h G. Moody 13 June 1983 - Last revised: 11 October 2002 wfdblib 10.2.8 + Last revised: 26 October 2002 wfdblib 10.2.9 WFDB library type, constant, structure, and function interface definitions _______________________________________________________________________________ @@ -33,7 +33,7 @@ /* WFDB library version. */ #define WFDB_MAJOR 10 #define WFDB_MINOR 2 -#define WFDB_RELEASE 8 +#define WFDB_RELEASE 9 #define WFDB_NETFILES 1 /* if 1, library includes code for HTTP, FTP clients */ /* Determine what type of compiler is being used. */ diff -Naur wfdb-10.2.8/lib/wfdbdll.def wfdb-10.2.9/lib/wfdbdll.def --- wfdb-10.2.8/lib/wfdbdll.def Fri Jul 16 16:57:16 1999 +++ wfdb-10.2.9/lib/wfdbdll.def Sat Oct 26 11:15:06 2002 @@ -1,6 +1,6 @@ LIBRARY WFDB -DESCRIPTION 'WFDB library, version 10.0.0 Copyright (C) George B. Moody 1999.' +DESCRIPTION 'WFDB library, version 10.2.9 Copyright (C) George B. Moody 2002.' EXETYPE WINDOWS @@ -76,4 +76,9 @@ wfdbgetstart @61 wfdbsetstart @62 getspf @63 - WEP @64 RESIDENTNAME + getifreq @64 + iannclose @65 + oannclose @66 + setifreq @67 + setmsheader @68 + WEP @69 RESIDENTNAME diff -Naur wfdb-10.2.8/psd/Makefile wfdb-10.2.9/psd/Makefile --- wfdb-10.2.8/psd/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/psd/Makefile Sun Oct 27 00:05:34 2002 @@ -32,12 +32,12 @@ # directory). # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -54,8 +54,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ diff -Naur wfdb-10.2.8/psd/Makefile.dos wfdb-10.2.9/psd/Makefile.dos --- wfdb-10.2.8/psd/Makefile.dos Wed May 24 22:35:27 2000 +++ wfdb-10.2.9/psd/Makefile.dos Sat Oct 26 15:29:09 2002 @@ -1,12 +1,19 @@ # file: makefile.dos G. Moody 14 November 1999 - +# Last revised: 26 October 2002 # MSDOS `make' description file template for PSD estimation programs # -# This file is a template for a `make' description file generated by `install', -# which generates `makefile' by concatenating `dbconfig' with this file (and -# stripping out comments). To use this file without `install', define these -# variables as appropriate for your system: - +# WARNING: NO SUPPORT FOR PROPRIETARY COMPILERS. Previous versions of the WFDB +# software package have been compiled successfully by other users using various +# proprietary compilers including those mentioned below. You may find this +# file helpful if you wish to use one of these compilers, but no support can be +# provided in this case. If you cannot successfully compile this software +# using a proprietary compiler, please try using Cygwin/gcc or MinGW/gcc under +# MS-Windows, or DJGPP under MS-DOS (free from http://www.cygwin.com/, +# http://www.mingw.org/, or http://www.delorie.com/ respectively). +# +# Before using this file, define these variables as appropriate for your +# installation: +# # CC The name of the command-line C compiler. # CDFLAGS Optional arguments to be supplied to CC to produce object files # with debugging symbols. @@ -38,7 +45,7 @@ # anything below this line. # ----------------------------------------------------------------------------- -XFILES = coherenc.exe fft.exe log10.exe lomb.exe memse.exe +XFILES = coherence.exe fft.exe log10.exe lomb.exe memse.exe # General rule for compiling C sources into executable files .c.exe: diff -Naur wfdb-10.2.8/psd/README wfdb-10.2.9/psd/README --- wfdb-10.2.8/psd/README Sun Jan 30 04:13:20 2000 +++ wfdb-10.2.9/psd/README Sat Oct 26 12:03:07 2002 @@ -43,9 +43,12 @@ The following files will be found in this directory: -Makefile UNIX `make' description file for compiling these applications -Makefile-dos-gcc UNIX `make' description file for compiling these appliccations - for MS-DOS using a gcc cross-compiler under UNIX +Makefile `make' description file for compiling these applications using + ANSI/ISO standard C compilers on supported platforms +Makefile.dos `make' description file for compiling these applications using + unsupported compilers from Borland, Microsoft, etc. +Makefile.top Used by ../configure to construct Makefile (comments only) +Makefile.tpl Used by ../configure to construct Makefile (portable section) README this file coherence.c Calculate coherence and cross-spectrum of two time series fft.c Calculate fast Fourier transform (FFT), inverse FFT, etc. diff -Naur wfdb-10.2.8/wave/Makefile wfdb-10.2.9/wave/Makefile --- wfdb-10.2.8/wave/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/wave/Makefile Sun Oct 27 00:05:34 2002 @@ -45,12 +45,12 @@ # just type `make' (from within this directory). # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -67,8 +67,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________ diff -Naur wfdb-10.2.8/waverc/Makefile wfdb-10.2.9/waverc/Makefile --- wfdb-10.2.8/waverc/Makefile Mon Oct 14 03:57:50 2002 +++ wfdb-10.2.9/waverc/Makefile Sun Oct 27 00:05:34 2002 @@ -25,12 +25,12 @@ # please visit PhysioNet (http://www.physionet.org/). # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 16 September 2002 +# Last revised: 26 October 2002 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 2 -RELEASE = 8 +RELEASE = 9 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -47,8 +47,8 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.2.8 -LONGDATE = 14 October 2002 +PACKAGE = wfdb-10.2.9 +LONGDATE = 27 October 2002 SHORTDATE = OCTOBER 2002 # _____________________________________________________________________________