isin_interval# torch_brain.utils.isin_interval(timestamps, interval)[source]# Check if timestamps are in any of the intervals in the Interval object. Parameters: timestamps (ndarray) – Timestamps to check. interval (Interval) – Interval to check against. Return type: ndarray Returns: Boolean mask of the same shape as timestamps.