neighbormodels.neighbors.extract_neighbor_distance_data

extract_neighbor_distance_data(cell_structure: pymatgen.core.structure.Structure, all_neighbors: List[List[Optional[Tuple[pymatgen.core.sites.PeriodicSite, float, int]]]]) → Dict[str, Union[List[str], List[float], List[int]]][source]

Extracts the site indices, site species, and neighbor distances for each pair and stores it in a dictionary.

Parameters:
  • cell_structure – A pymatgen Structure object.
  • all_neighbors – A list of lists containing the neighbors for each site in the structure.
Returns:

A dictionary of site indices, site species, and neighbor distances for each pair.