exceptions

Custom exceptions and warnings for HeartPy

exception heartpy.exceptions.BadSignalWarning[source]

Bases: exceptions.UserWarning

warning class to raise when no heart rate is detectable in supplied signal.

This warning notifies the user that the supplied signal is of insufficient quality and/or does not contain enough information to properly process.