create_interval_tree_for_ms¶
- create_interval_tree_for_ms(ms: MeasurementSet) intervaltree.IntervalTree[source]¶
Create a new IntervalTree fitted to the dimensions of a measurement set.
This function creates a new IntervalTree with the size of the antenna, spw, field and intent dimensions fitted to envelop of the input measurement set.
- Parameters:
ms -- MeasurementSet to create new IntervalTree for.
- Returns:
An IntervalTree fitted to the dimensions of given measurement set.