AnalyzeHRbyEpisodes function

Analyzes Heart Rate using episodes information