|
- |
PhysioNet · PhysioBank · PhysioToolkit |
| To install and use the WFDB
Software Package successfully, you must know how to use the Terminal
application and the Unix shell. If you are unfamiliar with Unix
commands, please find and study a good reference on the subject, such
as David Pogue's Mac OS X: The Missing Manual, or Dave
Taylor's Learning Unix for Mac OS X (both published by
O'Reilly), or get the help of a local expert.
The WFDB Software Package has been successfully compiled and tested on Intel-based Macs under Mac OS X 10.5 (Leopard) and on PPC-based Macs under Mac OS X 10.3 (Panther) and 10.2 (Jaguar). We have not tested other versions of OS X. Note that the XView toolkit needed in order to use WAVE is available for PPC but not (yet) for Intel-based Macs. Thanks to Isaac Henry for the original port of the WFDB Software Package to Mac OS X; to David T. Linker, MD, of the University of Washington, for providing instructions for compiling WAVE under Mac OS X 10.2 on PPC Macs; and to Prof. Logan Donaldson, of York University (Toronto), for the port of the XView toolkit to Mac OS X 10.0 (PPC) that made David's port of WAVE possible. |
export EDITOR=/usr/bin/emacsto the file named .bashrc in your home directory.
If you download the sources (recommended):
tar xfv wfdb.tarOtherwise, decompress and unpack with this command:
tar xfvz wfdb.tar.gz
Unpacking the archive creates a directory with a name of the form wfdb-10.m.n.
cd wfdb-10.m.n ./configure sudo make installThe sudo command prompts for your password, needed in order to install the package in subdirectories of /usr. If you do not have administrative permissions, you may install the package in any writable directory by running make directly, adding an appropriate option:
make install WFDBROOT=/path/to/another/directoryNote that in this case you will need to add WFDBROOT/bin to your PATH, and WFDBROOT/lib to your DYLD_LIBRARY_PATH.
make checkThis step compiles a short program that exercises the WFDB library, prints a summary of test results, and prompts you to press <Enter>. After you have done so, the WFDB applications are tested. The tests are very short (typically less than a second each), except that the last one (xform using NETFILES) may take up to a minute if you have a slow or inoperative Internet connection. If any application test fails, its output can be found in the checkpkg subdirectory of the WFDB source tree; compare this output with the files of the same names that can be found in the checkpkg/expected subdirectory.
cd wfdb-10.m.n-cputype-Darwin sudo cp -pr . /usr
wave -r mitdb/200 -a atr
startx &In the xterm window, type the command:
wave -r mitdb/200 -a atr
Note that WAVE's menus (marked with a
) are opened using a right click; if you have a
one-button mouse, simulate a right click by pressing and holding the
apple key while clicking. Annotation editing requires the use of the
middle button, which can be simulated by using the option key while
clicking.
If you have not used WAVE before, you may want to follow through the tutorial
material in the beginning of the WAVE User's
Guide.
| Send feedback about this page to PhysioNet |
|
Your comments and suggestions are welcome. We encourage you to use our feedback form to comment on this page. If you would like to receive a reply, please send your comments by email to webmaster@physionet.org, or post them to: MIT Room E25-505A 77 Massachusetts Avenue Cambridge, MA 02139 USA |
![]() |
Updated Thursday, 07 August 2008 at 15:56 EDT