code: def get_element_dos(self):
          
  
          el_dos = {}
          for site, atom_dos in self.pdos.items():
              el = site.specie
              for pdos in atom_dos.values():
                  if el not in el_dos:
                      el_dos[el] = pdos
                  else:
                      el_dos[el] = add_densities(el_dos[el], pdos)
          return {el: Dos(self.efermi, self.energies, densities)
                  for el, densities in el_dos.items()}
docs: Get element projected Dos.
  
          Returns:
              dict of {Element: Dos}