An advanced detrending method with application to HRV analysis | Synapse