By request of prof. Hugo Silva, I made the following changes:
Main change
The onsets in BVP were miscalculated. Added an algorithm by Elgendi et al. 2013 that works well under tropical conditions.
Module's organization
Create a new module ABP for Arterial Blood Pressure (BVP used a method by Zong et al. 2003 to determine the signal onsets; the algorithm was however designed for ABP)
The module BVP was renamed as its more standard name: PPG.
Leave the BVP module for compatibility with old code
By request of prof. Hugo Silva, I made the following changes: