create_interval_tree_for_ms

create_interval_tree_for_ms(ms)[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) -- MeasurementSet to create new IntervalTree for.

Returns:

An IntervalTree fitted to the dimensions of given measurement set.

Return type:

intervaltree.IntervalTree