cifkit.coordination.composition module
- cifkit.coordination.composition.compute_avg_CN(connections: dict[str, int]) float [source]
Calculate the average coordination number across all sites.
- cifkit.coordination.composition.count_connections_per_site(connections: dict) dict[str, int] [source]
Calculate the coordination number for each atom site.
- cifkit.coordination.composition.get_bond_counts(elements: list[str], connections: dict[str, list], sorted_by_mendeleev=False) dict[str, dict[tuple[str, str], int]] [source]
Return a dictionary containing bond pairs and counts per label site.