for process ppg signal, at first there should be a signal quality assessment https://github.com/fwolling/PPGraw