Analyzing A Discrete Heart Rate Signal Using Python