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

Adding parsers for wavefunctions and U matrices #13

Merged
merged 2 commits into from
May 30, 2024

Conversation

giovannipizzi
Copy link
Member

A parser for the _u.mat and _u_dis.mat files has been added. Moreover, also a parser for wavefunctions (UNKNNNNN.N files) has been added, but also in the (non-default) case where they are printed in formatted format, for now.

Tests are added (skipping U matrices for Wannier 2.x where this was not implemented) and CLI is expanded as well with two new commands.

@giovannipizzi giovannipizzi force-pushed the add_u_unk_parsers branch 2 times, most recently from 99f7bd0 to ee08e9e Compare May 28, 2024 21:18
A parser for the _u.mat and _u_dis.mat files has been added.
Moreover, also a parser for wavefunctions (UNKNNNNN.N files)
has been added, but also in the (non-default) case where they
are printed in formatted format, for now.

Tests are added (skipping U matrices for Wannier 2.x where this
was not implemented) and CLI is expanded as well with two new commands.
@giovannipizzi giovannipizzi marked this pull request as ready for review May 28, 2024 21:40
src/wannier90io/_u.py Outdated Show resolved Hide resolved
src/wannier90io/_u.py Outdated Show resolved Hide resolved
src/wannier90io/_unk.py Outdated Show resolved Hide resolved
@giovannipizzi
Copy link
Member Author

Thanks @jimustafa ! Updated with your suggestions

@jimustafa jimustafa merged commit b025922 into wannier-developers:main May 30, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants