Skip to content

wumaster/wfdb-python

 
 

Repository files navigation

wfdb-python

Build Status

wfdb signals

Introduction

The native Python waveform-database (WFDB) package. A library of tools for reading, writing, and processing WFDB signals and annotations.

Core components of this package are based on the original WFDB specifications. This package does not contain the exact same functionality as the original WFDB package. It aims to implement as many of its core features as possible, with user-friendly APIs. Additional useful physiological signal-processing tools are added over time.

Documentation and Usage

See the documentation site for the public APIs.

See the demo.ipynb notebook file for more example use cases.

Installation

The distribution is hosted on pypi at: https://pypi.python.org/pypi/wfdb/. To directly install the package from pypi without needing to explicitly download content, run from your terminal:

$ pip install wfdb

The development version is hosted at: https://github.com/MIT-LCP/wfdb-python. This repository also contains demo scripts and example data. To install the development version, clone or download the repository, navigate to the base directory, and run:

$ pip install .

Development

The development repository is hosted at: https://github.com/MIT-LCP/wfdb-python

The package is to be expanded with physiological signal-processing tools, and general improvements. Development is made for Python 2.7 and 3.5+ only.

Contributing

We welcome community contributions in the form of pull requests. When contributing code, please ensure:

  • PEP8 style guidelines are followed.
  • Documentation is provided. New functions and classes should have numpy/scipy style docstrings.
  • Unit tests are written for new features that are not covered by existing tests.

Authors

Chen Xie

Julien Dubiel

About

Native Python WFDB package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 56.3%
  • Python 43.7%