Skip to the content.

Introduction to Cardiosomnography

We propose the term “cardiosomnography” (CSG) for any sleep study that could be conducted with only electrocardiography (ECG/EKG). In addition to expert-level sleep staging [1], numerous studies have demonstrated that sleep apnea detection can be reliably performed using only ECG [2,3,4].

Sleep Staging with CSG

We demonstrate in our recent paper [1] that it is now possible to score sleep at equivalent performance to expert human-scored polysomnography (PSG) using only ECG. Our method offers an inexpensive, automated, and convenient alternative for sleep stage classification—further enhanced by a real-time scoring option.

We suggest that everyone interested should read the paper to find out more. (Make sure to also check out the supplemental—I had too many results for the main text! 😭) However, here’s a brief summary figure of our meta-analysis results:

Meta-analysis comparison of PSG- and CSG-based sleep staging: Meta-analysis comparison of PSG- and CSG-based sleep staging

The meta-analysis of 11 papers on PSG sleep staging, demonstrate the on-par results of CSG with the current gold standard. See our paper for more details.

Applications of CSG

Our intention is for CSG to take expert-level sleep studies outside the confines of clinics and laboratories and into realistic settings. Eliminating the need for most of the cumbersome equipment and a human scorer it makes less-expensive, higher-quality studies accessible to a broader community. We hope this will enable improved sleep research and more personalized, accessible sleep-related healthcare interventions.

Code Repository

The GitHub repository contains everything you need to do the following:

  1. Prepare your data
  2. Sleep score your data
  3. Use the benchmark dataset
  4. Use the loss function for your own models
  5. Replicate everything in the paper’s Methods and Results sections

If you need any assistance, please feel free to contact me (contact details provided in the paper). I will be happy to help you use and modify the code to work on your data, as well as replicate anything from the paper.

References

If you find this repository helpful, please cite our work:

Additional works cited above:

Online Mentions