code: def remove_max_dipole_sep(self, maxsep=10):
          
          sep = np.abs(self.configs[:, 1] - self.configs[:, 2])
          self.configs = self.configs[sep <= maxsep]
docs: Remove configurations with dipole separations higher than `maxsep`.
  
          Parameters
          ----------
          maxsep : int
              Maximum separation between both dipoles (the default is 10).