remove_neighbouring_components

ska_sdp_func_python.sky_component.operations.remove_neighbouring_components(comps, distance)[source]

Remove the faintest of a pair of components that are within a specified distance.

Parameters:
  • comps – List of SkyComponents

  • distance – Minimum distance

Returns:

Indices of components in target_comps, selected components