code: def get_sym_eq_kpoints(self, kpoint, cartesian=False, tol=1e-2):
          
          if not self.structure:
              return None
          sg = SpacegroupAnalyzer(self.structure)
          symmops = sg.get_point_group_operations(cartesian=cartesian)
          points = np.dot(kpoint, [m.rotation_matrix for m in symmops])
          rm_list = []
          # identify and remove duplicates from the list of equivalent k-points:
          for i in range(len(points) - 1):
              for j in range(i + 1, len(points)):
                  if np.allclose(pbc_diff(points[i], points[j]), [0, 0, 0], tol):
                      rm_list.append(i)
                      break
          return np.delete(points, rm_list, axis=0)
docs: Returns a list of unique symmetrically equivalent k-points.
  
          Args:
              kpoint (1x3 array): coordinate of the k-point
              cartesian (bool): kpoint is in cartesian or fractional coordinates
              tol (float): tolerance below which coordinates are considered equal
  
          Returns:
              ([1x3 array] or None): if structure is not available returns None