Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project DOS extraction #170

Open
samtsevich opened this issue Oct 22, 2024 · 3 comments
Open

Project DOS extraction #170

samtsevich opened this issue Oct 22, 2024 · 3 comments

Comments

@samtsevich
Copy link

Hello!

I did not find the way how projected DOS can be parsed from the VASP outputs, and documentation says nothing about it.
Of course, I can parse that manually, but seems like py4vasp should have such a functionality, isn't it?

@martin-schlipf
Copy link
Collaborator

You can provide an optional argument selection that allows you to plot the projected DOS.
https://vasp.at/py4vasp/latest/calculation/dos/#py4vasp.calculation._dos.Dos.to_graph

@samtsevich
Copy link
Author

samtsevich commented Oct 24, 2024

Thanks for the reply @martin-schlipf
But what if I want to get it as arrays of energies and weights? Is there any way to do that?

@martin-schlipf
Copy link
Collaborator

Yes, if you use the read or to_dict function instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants