pyeeg.features.alignment.Interval.contains

Interval.contains(time: float) bool

Check whether a time point falls inside the interval.

The interval is half-open: start <= time < end.

Parameters:

time (float) – Time point in seconds.

Returns:

containsTrue if time lies within the interval.

Return type:

bool