__init__

IntervalTree.__init__(intervals)[source]

Creates an IntervalTree object.

Parameters:

intervals – A list or numpy.array containing the intervals (list of two numbers).