Git Product home page Git Product logo

vitalpy's Introduction


VitalPy: A Vital Signal Analysis Package

Currently, the package supports PPG preprocessing and extraction of more than 400 features. The PPG pipeline was originally implemented for analysis of the AuroraBP database.

It provides:

  • PPG preprocessing: Singal quality metrics, baseline extraction, etc.
  • PPG feature extraction: time-domain, frequency-domain, statistical features ( >400 features)
  • Compatibility with PPG recorded from 128 Hz to 500 Hz: tested with local devices and large datasets.

Use

VitalPy is written in Python (3.9+). Navigate to the Python repository and install the required packages:

pip install -r requirements.txt

Import:

from src.ppg.PPGSignal import PPGSignal

Check the signal (make sure that the file waveform_df is in dataframe format and contains the columns 't' for time and 'ppg' for the signal values):

signal = PPGSignal(waveform_df, verbose=1)

signal.check_keypoints()

Get features:

signal = PPGSignal(waveform_df, verbose=0)

features = signal.extract_features()

Example plots for a AuroraBP signal

Used file: measurements_oscillometric/o001/o001.initial.Sitting_arm_down.tsv

Mean signal

The following figure shows the mean template computed from all templates within the signal given as input.

Preprocessing steps

All preprocessing steps are depicted. The final result should have filtered out all low quality waveforms.

PPG Keypoints

Exemplary PPG keypoint extraction.

License

VitalPy is available under the General Public License v3.0.

Citation

If you use this repository or any of its components and/or our paper as part of your research, please cite the publication as follows:

A. Cisnalet al. "Robust Feature Selection for Continuous BP Estimation in Multiple Populations: Towards Cuffless Ambulatory BP Monitoring," IEEE J Biomed Health Inform, Under Review (2023).

@unpublished{vitalpy,
  title={Robust Feature Selection for Continuous BP Estimation in Multiple Populations: Towards Cuffless Ambulatory BP Monitoring},
  author={Cisnal, Ana and Li, Yanke and Fuchs, Bertram and Ejtehadi, Mehdi and Riener, Robert and Paez-Granados, Diego},
  journal={IEEE Journal of Biomedical and Health Informatics},
  year={2023},
  note = "Under review"
}

vitalpy's People

Contributors

cisnal avatar drdiegopaez avatar scidex avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.