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

Calculate and plot volume #63

Merged
merged 3 commits into from
Jul 18, 2023
Merged

Calculate and plot volume #63

merged 3 commits into from
Jul 18, 2023

Conversation

stefsmeets
Copy link
Contributor

@stefsmeets stefsmeets commented Jul 17, 2023

This PR makes a density plot for the (diffusing) atoms.

The volumetric data can be converted to a numpy array using cartesian or fractional bins. Cartesian is useful for using generic python based volume viewers, like k3d, pyvista or mayavi.

I'm using pymatgen.io.vasp.VolumetricData as a container for the data, because it can save the data in a vasp compatible format.

This means the data can be read using standard crystallographic tools like vesta.

image

@stefsmeets stefsmeets mentioned this pull request Jul 17, 2023
14 tasks
@stefsmeets stefsmeets marked this pull request as ready for review July 18, 2023 08:32
@stefsmeets stefsmeets merged commit e322248 into main Jul 18, 2023
3 checks passed
@stefsmeets stefsmeets deleted the volumetric-plot branch July 18, 2023 08:59
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

1 participant