Commit c0f53540 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed normalized dos. #366 #354

parent ba060d7c
......@@ -888,7 +888,8 @@ class VasprunContext(object):
backend.addArrayValues("dos_energies", dosE)
backend.addArrayValues(
"dos_energies_normalized", dosE - eRef)
backend.addArrayValues("dos_values", dosV)
cell_volume = np.abs(np.linalg.det(self.cell))
backend.addArrayValues("dos_values", dosV * cell_volume)
backend.addArrayValues(
"dos_integrated_values", dosI)
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment