PhysioNet  ·  PhysioBank  ·  PhysioToolkit

PhysioToolkit
open source software for
biomedical science and engineering

Advanced Search | Tour | Mirrors
How to Cite | Contributing | FAQ
Getting Started  ·  Software Index  ·  Matlab Software  ·  WFDB Software  ·  Manuals Site Map

WFDB quick start for Mac OS X (Darwin)

To install and use the WFDB Software Package successfully, you must know how to use the Terminal application and the Unix shell. If you do not consider yourself comfortable with common Unix commands, and with the distinction between running programs as an ordinary user and as root, please find and study a good reference on the subject, such as David Pogue's Mac OS X: The Missing Manual, or Dave Taylor and Jerry Peek's Learning Unix for Mac OS X (both published by O'Reilly), or get the help of a local expert.

What you need to know is not difficult to learn, but it is very different from the classic MacOS interface and may require a period of adjustment. Do not attempt to learn Unix while trying to install the WFDB Software Package. You have been warned!

The WFDB Software Package has been successfully compiled under Mac OS X 10.2 (Darwin 6.0.1) and 10.3. It should also work under 10.1, but this has not been tested.

Thanks to Isaac Henry for the original port of the WFDB Software Package to Mac OS X, and for documenting most of the procedure outlined below; to David T. Linker, MD, of the University of Washington, for providing instructions for compiling WAVE under Mac OS X; and to Prof. Logan Donaldson, of York University (Toronto), for the port of the XView toolkit to Mac OS X that made David's port of WAVE possible.

  1. Install Mac OS X Developer Tools.
    The developer tools (including the X11 SDK, see below) can be downloaded from http://developer.apple.com/tools/xcode/. This software is also included in current Mac OS X CD sets.

  2. Install an HTTP client library (optional).
    If neither libcurl nor libwww has been installed already, install one of them now.
  3. Install X11 for Mac OS X, the X11 SDK, and XView (optional).
  4. Download the current version of the WFDB Software Package as sources or binaries. The binary distribution is experimental and may not be up-to-date; we strongly recommend following the procedure described below for compiling the software from the sources instead. If you plan to compile WFDB applications that are not included in the binary package, please start with the sources.

    If you download the sources (recommended):


    If you download the binaries (not recommended):
  5. If XView is installed, test WAVE.

    Note that WAVE's menus (marked with a nabla) 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.

  6. Read the manuals. Really! :-) If you want to write your own software to work with PhysioBank data, begin with the WFDB Programmer's Guide. To learn about the wide variety of existing software that can be used to study PhysioBank data, read the WFDB Applications Guide and 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:

PhysioNet
MIT Room E25-505A
77 Massachusetts Avenue
Cambridge, MA 02139 USA

Updated Wednesday, 18-Jan-2006 10:36:38 EST National Institute of Biomedical Imaging and Bioengineering National Institutes of Health National Institute of General Medical Sciences