get_cluster_ids

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

Read cluster IDs present in the selected source structures.

Parameters:
  • 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.

  • 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.

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

Returns:

list of int – Sorted unique cluster IDs.

Notes

Optional filters are applied before cluster IDs are collected. If temporary=True, IDs are read from temp_cluster_id instead of cluster_id.