code: def center(self):
          
  
          if np.all(np.isfinite(self.xyz)):
              return np.mean(self.xyz, axis=0)
docs: The cartesian center of the Compound based on its Particles.
  
          Returns
          -------
          np.ndarray, shape=(3,), dtype=float
              The cartesian center of the Compound based on its Particles