group_entries_with_structure_matcher

emmet.core.structure_group.group_entries_with_structure_matcher(g, struct_matcher, working_ion=None)
Return type:

Iterable[list[ComputedStructureEntry | ComputedEntry]]

Parameters:
  • struct_matcher (StructureMatcher)

  • working_ion (str | None)

Group the entries together based on similarity of the primitive cells Args:

g: a list of entries struct_matcher: the StructureMatcher object used to aggregate structures working_ion: the name of the working ion, if none use the first ignored species

from the structure_matcher

Returns:

subgroups: subgroups that are grouped together based on structure similarity