@Snijderfrey , for filtering and pre-processing techniques you could also check existing and well matured Python HRV analysis packages, some of those come with decent documentation, including references to research papers.
https://pypi.org/search/?q=hrv