code: def get_site_t2g_eg_resolved_dos(self, site):
          
          t2g_dos = []
          eg_dos = []
          for s, atom_dos in self.pdos.items():
              if s == site:
                  for orb, pdos in atom_dos.items():
                      if orb in (Orbital.dxy, Orbital.dxz, Orbital.dyz):
                          t2g_dos.append(pdos)
                      elif orb in (Orbital.dx2, Orbital.dz2):
                          eg_dos.append(pdos)
          return {"t2g": Dos(self.efermi, self.energies,
                             functools.reduce(add_densities, t2g_dos)),
                  "e_g": Dos(self.efermi, self.energies,
                             functools.reduce(add_densities, eg_dos))}
docs: Get the t2g, eg projected DOS for a particular site.
  
          Args:
              site: Site in Structure associated with CompleteDos.
  
          Returns:
              A dict {"e_g": Dos, "t2g": Dos} containing summed e_g and t2g DOS
              for the site.