code: def _get_image(structure, site):
          
          original_site = structure[
              NearNeighbors._get_original_site(structure, site)]
          image = np.around(
              np.subtract(site.frac_coords, original_site.frac_coords))
          image = tuple(image.astype(int))
          return image
docs: Private convenience method for get_nn_info,
          gives lattice image from provided PeriodicSite and Structure.
  
          Image is defined as displacement from original site in structure to a given site.
          i.e. if structure has a site at (-0.1, 1.0, 0.3), then (0.9, 0, 2.3) -> jimage = (1, -1, 2).
          Note that this method takes O(number of sites) due to searching an original site.
  
          Args:
              structure: Structure Object
              site: PeriodicSite Object
  
          Returns:
              image: ((int)*3) Lattice image