THIS PROJECT IS ARCHIVED
This is NOT the official WFDB software package. See https://github.com/bemoody/wfdb instead.
This is a project attempting to advance the WFDB package into a more modern form, by converting the main code into C++, refactoring and reorganizing the content, and using CMake as the build system generator. If this effort proves successful, this will become the reference WFDB package. If not, you never read this.
Directories:
src: The main WFDB codebase.data: Data used for tests.examples: Example usage scripts.fortran: Fortran wrappers for the WFDB library.wave: The Linux desktop waveform viewer, WAVE.
WFDB is officially supported on Linux.
Prerequisites: gcc, cmake, libcurl.
Eg. For Debian and Ubuntu:
sudo apt-get update && sudo apt-get install -y gcc curl cmake
cd src
# Create the build artifacts
cmake -S . -b build
# Compile the code
cmake --build build
See also the Dockerfile for a containerized installation. To build the container:
docker build . -t wfdb -f DockerfileThis section describes a potential containerized development environment that can be used on Linux, MacOS, and Windows. You are not required to use this setup.
A recommended environment is shown in Dockerfile.dev. To set up this system:
-
Install Docker or Docker Desktop.
-
If you wish to use VSCode and its Remote Explorer extension, follow the Developing inside a Container guide. When you create your dev container, select "From Dockerfile.dev". Inside the container, you may also want to install the "CMake" and "CMake Tools" extensions.
-
If you do not wish to use VSCode and/or the extension, you can just build and run the container:
docker build . -t wfdbdev -f Dockerfile.dev
docker run -it wfdbdev /bin/bashFollow the Google C++ Style Guide as specified in .clang-format.