Run RPeaks before STInteral. Pass filtered signal to STinterval module.