I'm filtering a raw PPG signal sampled at 100sps
As you can see, It has a trend (a low pass component which is not in the desired signal). I tried applying a high pass filter, it removes the trend but also changes wave shape significantly. Is there a way to detrend this signal without losing the shape?
I'm using python to implement filters. This is only a part of the signal and, actual signal is a few mins long. I'm not worried about the speed as this doesn't have to be real-time.