make_phenomenal_occevent#

libcasm.enumerate.make_phenomenal_occevent(
prototype: OccEvent,
phenomenal_clusters: collections.abc.Sequence[Cluster],
equivalent_generating_op_indices: collections.abc.Sequence[SupportsInt | SupportsIndex],
prim: Prim,
) list[OccEvent]#

Construct the phenomenal OccEvent for the equivalent local basis sets

The parameters phenomenal_clusters and equivalent_generating_op_indices can be read from the “equivalents_info.json” file generated when the local basis sets are constructed.

Parameters:
  • prototype (OccEvent) – The prototype OccEvent used to generate the local basis sets

  • phenomenal_clusters (list[Cluster]) – The phenomenal clusters of the local basis sets, as read from “equivalents_info.json”

  • equivalent_generating_op_indices (list[int]) – Indices of the factor group operations that generate the phenomenal clusters of the local basis sets from the prototype, as read from “equivalents_info.json”

  • prim (libcasm.config.Prim) – The Prim, used to obtain necessary symmetry info

Returns:

phenomenal_occevent – The phenomenal OccEvent for the equivalent local basis sets

Return type:

list[OccEvent]