get_cluster_members

environment_lib_class.get_cluster_members(cluster_id, rsp=None, stateID=None, procID=None, temporary=False)

Select registry indices assigned to one cluster.

Parameters:
  • cluster_id (int) – Cluster identifier to select.

  • rsp (int or sequence of int, optional) – Structure selector: 0 for reactant, 1 for saddle, 2 for product. Filters accept a scalar, a sequence, or None for no restriction. Default: None.

  • stateID (int or sequence of int, optional) – State identifier in /States. Filters accept a scalar, a sequence, or None for no restriction. Default: None.

  • procID (int or sequence of int, optional) – Process identifier within the selected state. Filters accept a scalar, a sequence, or None for no restriction. Default: None.

  • temporary (bool, optional) – Use temporary cluster assignments instead of final cluster assignments. Default: False.

Returns:

numpy.ndarray – Matching registry indices after applying source-structure filters.