How to get total dos

m = MPRester(‘api_key’)
dos = m.get_dos_by_material_id(‘mp_id’)
total_dos = sum(dos.densities.values())

generally, DOS data is composed by DOS with respect to energy, so we can check fermi energy, but when I use “tot_dos=sum(dos.densities.values())”, they only show density value, like this ( under image), so I want to know that ENMAX, ENMIN, and NEDOS.

  • when I use
    energy = dos.energies()
    there is a error…

energies is an attribute not a method.

1 Like

Thank you to reply.!