create_interval_tree¶
- create_interval_tree(a)[source]¶
Create an IntervalTree containing a set of Intervals.
The input argument used to create the Intervals is an iterable of 3-tuples, each 3-tuple defined as:
(interval start, interval end, function giving value for that interval).
- Parameters:
a -- the iterable of argument tuples
- Returns:
IntervalTree