code: def get_partial_DOS(self):
          
          warnings.warn("Phonopy.get_partial_DOS is deprecated. "
                        "Use Phonopy.get_projected_dos_dict.",
                        DeprecationWarning)
  
          pdos = self.get_projected_dos_dict()
  
          return pdos['frequency_points'], pdos['projected_dos']
docs: Return frequency points and partial DOS as a tuple.
  
          Projection is done to atoms and may be also done along directions
          depending on the parameters at run_partial_dos.
  
          Returns
          -------
          A tuple with (frequency_points, partial_dos).
  
          frequency_points: ndarray
              shape=(frequency_sampling_points, ), dtype='double'
          partial_dos:
              shape=(frequency_sampling_points, projections), dtype='double'