def METHOD_NAME(self, id):
    dist = np.fabs(
        np.delete(self.system.part.all().pos, id, axis=0) - self.system.part.by_id(id).pos)
    # check smaller distances via PBC
    dist = np.where(
        dist > 0.5 * self.system.box_l, self.system.box_l - dist, dist)
    dist = np.linalg.norm(dist, axis=1)
    return np.min(dist)