MIT-LCP / MIT-LCP/wfdb-python

Implement `to_ccdef()` function to output WFDB data to CCDEF/HDF5 Critical Care Data Format

Open
#443 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
853
Forks
322
PR merge metrics
No merged PRs in 30d

Description

This needs more thought/discussion, but I wanted to make a note before I forget. If possible it would be helpful if we could introduce a function that would allow WFDB data to be easily outputted to the CCDEF/HDF5 Critical Care Data Format.

The general suggestion is that we could load a record using the WFDB package and then output to CCDEF with a to_ccdef() method.

The function would be useful for the CHoRUS project (https://chorus4ai.org/) which requires data in both WFDB and CCDEF formats. For more information on the CCDEF format, see: https://ccdef.org/.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the WFDB package's record-loading entry points and the CCDEF specification at ccdef.org, with the CHoRUS project's need for both formats in mind. Define the scope and expected behavior of a to_ccdef() conversion before implementation; done means WFDB data can be output in a valid CCDEF/HDF5 format.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.