ewoksid02.utils.average.get_array_limit#

ewoksid02.utils.average.get_array_limit(azimuth_range, azimuth_array)[source]#

Get the array indices corresponding to the azimuth range.

Inputs:

azimuth_range (List[float]): The azimuth range as a list of two values. azimuth_array (numpy.ndarray): The array of azimuth values.

Outputs:

Tuple[int, int]: The indices corresponding to the azimuth range.

Parameters:
  • azimuth_range (List[float])

  • azimuth_array (ndarray)

Return type:

Tuple[int, int]