grss.prop.prop_parallel.cluster_ca_or_impacts

grss.prop.prop_parallel.cluster_ca_or_impacts#

grss.prop.prop_parallel.cluster_ca_or_impacts(full_list, max_duration=45, central_body=399)#

Cluster a list of close approaches by time and uniqueness.

Parameters:
  • full_list (list of libgrss.CloseApproachParameters objects) – List of close approaches to cluster.

  • max_duration (float) – Maximum duration (in days) between close approaches in a cluster.

  • central_body (int) – SPICE ID of the central body.

Returns:

all_clusters – A tuple of close approach clusters (each cluster is a list of close approaches).

Return type:

tuple of list of libgrss.CloseApproachParameters objects