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

Add vibrational properties #11

Merged
merged 11 commits into from
Jun 22, 2023
Merged

Add vibrational properties #11

merged 11 commits into from
Jun 22, 2023

Conversation

stefsmeets
Copy link
Contributor

@stefsmeets stefsmeets commented Jun 21, 2023

This PR reads some more variables from the vasprun.xml and calculates the vibrational properties.

Todo

  • For vibration amp, use np.split with np.roll to check if signs are equal
  • Add test for meanfreq function
  • Refactor code
  • Better docstrings

Plots

image
image

@stefsmeets stefsmeets mentioned this pull request Jun 21, 2023
14 tasks
@stefsmeets stefsmeets requested a review from v1kko June 22, 2023 12:06
@stefsmeets
Copy link
Contributor Author

Hi @v1kko this PR is ready, what do you think?

@stefsmeets stefsmeets marked this pull request as ready for review June 22, 2023 12:06
Copy link
Contributor

@v1kko v1kko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but keep in mind that we have to change the structure around a bit still.
Of course the added plot functions will stay mostly the same so those are great!

The name (probably will) change as well in the future, so you don't have to change it now (unless you are really annoyed by CAPITALS 😛 ).

@stefsmeets
Copy link
Contributor Author

Cheers, no worries about changing the structure!

And yes, I'm already super annoyed by the CAPITALS. Already too many times I have had ImportError 🫣

@stefsmeets stefsmeets merged commit eaa53bf into main Jun 22, 2023
5 checks passed
@stefsmeets stefsmeets deleted the vibration_properties branch June 22, 2023 13:10
@stefsmeets stefsmeets mentioned this pull request Jul 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

2 participants