callcut.evaluation.Interval🔗

class callcut.evaluation.Interval(onset, offset)[source]🔗

A time interval representing a detected or annotated call.

Parameters:
onsetfloat

Start time in seconds.

offsetfloat

End time in seconds.

Attributes

duration

Duration of the interval in seconds.

Examples

>>> interval = Interval(onset=1.5, offset=2.3)
>>> interval.duration
0.8
property duration🔗

Duration of the interval in seconds.

Type:

float