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

Twist refactor #377

Merged
merged 9 commits into from
Mar 4, 2023
Merged

Twist refactor #377

merged 9 commits into from
Mar 4, 2023

Conversation

lkwagner
Copy link
Contributor

I found our current method for twists to be very difficult to use. I also found that sometimes the avail_twists failed. I refactored our system so that create_available_twists() gives you a list of twists and you can select from those. By default we grab the first one which is typically the closest to gamma.

tests/integration/test_twist.py Outdated Show resolved Hide resolved
pyqmc/twists.py Show resolved Hide resolved
pyqmc/orbitals.py Show resolved Hide resolved
tests/integration/test_excited_state_sampler.py Outdated Show resolved Hide resolved
pyqmc/twists.py Show resolved Hide resolved
@lkwagner lkwagner merged commit 4f186aa into master Mar 4, 2023
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.

None yet

3 participants