scale_uv_range

scale_uv_range(ms)[source]

Return the UV range that captures the inner half of the data.

This function returns a 2-tuple with first value set to the UV range as a domain object, and the second value set to a uvrange constraint suitable for use in plotms calls.

Parameters:

ms (MeasurementSet) -- measurement set to analyse

Returns:

tuple of (UV range, plotms constraint)

Return type:

tuple[Distance, str]