-
Notifications
You must be signed in to change notification settings - Fork 15
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
Parser for waves.sxb files from SPHInX #1224
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a particular reason that the class should not require a file when created? I think it's easier to force the user to set it and remove _check_loaded
Co-authored-by: Sam Dareska <37879103+samwaseda@users.noreply.github.com>
I made changes according to your comment. Have a look. |
deleteed _read() function, created more properties.
removed netCDF4 import Co-authored-by: Marvin Poul <poul@mpie.de>
reordered get_psi_rec() Co-authored-by: freyso <63301887+freyso@users.noreply.github.com>
Spx add tests
I want to add tests for this. |
Added a test for SphinxWavesReader class. I created a 'fake.sxb' which is a fake wavefunction file. As the real wavefunction files even for small molecule and a single k point was already around 50 mb. |
Couldn't you get a 'real' wavefunction for a single k point and (well I am not sure how sphinx does it - pure plane waves?) a very low energy cutoff? However, if the fake file has the same structure it should also be fine. |
an Al bulk cell (primitive fcc, 1 atom) with a single k should do. |
I have added now a proper waves.sxb file and the tests work. I would suggest that we merge this into the main for now. I will be going on vacation now, and the wavefunction reader would be useful to others. |
Can I merge this? |
|
Adding a parser for wavefunction files generated by SPHInX