find_nearest_skycomponent_index

ska_sdp_func_python.sky_component.operations.find_nearest_skycomponent_index(home, comps) int[source]

Find the nearest component in a list to a given direction (home).

Parameters:
  • home – Home direction

  • comps – List of SkyComponents

Returns:

Index of best in comps