tnetwork.utils.Intervals.intersection¶
-
Intervals.
intersection
(other_Intervals)[source]¶ Intersection with another Intervals
return the intersection between the current interval and the one provided as parameter, i.e. a new Interval containing periods in common between them.
Parameters: intervals – intervals provided as a Intervals object Returns: a new Intervals object