neighbormodels.neighbors.append_site_i_neighbor_distance_data

append_site_i_neighbor_distance_data(site_i_index: int, site_i_neighbors: List[Optional[Tuple[pymatgen.core.sites.PeriodicSite, float, int]]], cell_structure: pymatgen.core.structure.Structure, neighbor_distances: Dict[str, Union[List[str], List[float], List[int]]]) → None[source]

Helper function to append indices, species, and distances in the neighbor_distances dictionary.

Parameters:
  • site_i_index – Site index of first site in neighbor pair.
  • site_i_neighbors – A list of site i’s neighbors.
  • cell_structure – The pymatgen Structure object that defines the crystal structure.
  • neighbor_distances – A dictionary of site indices, site species, and neighbor distances for each pair.