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

Partial charges and stm #144

Merged
merged 61 commits into from
May 17, 2024

Conversation

MichaelWolloch
Copy link
Contributor

Implements the handling of partial charge densities and the simulation of constant-height and constant-current STM images in the Tersoff-Hamann approximation.

Plotting of the STM is still a prototype and should be moved to a different module for plotting contours and heat-maps.

Branch 735 of the VASP code will need to be merged to write partial charges to hdf5, which will probably happen in 6.5

MichaelWolloch and others added 30 commits February 13, 2024 11:54
…_STM

# Conflicts:
#	src/py4vasp/_raw/data.py
#	src/py4vasp/_raw/definition.py
cleaned up plotting a bit. Added unit tests (not for plotting)
…eights over the surface layer instead of arbitrary units.
intended for plotting heatmaps and contour plots
Note that plotly does not show this label at the moment
Got rid of all attributes and put settings in dataclass.

Also added correct py4vasp errors.
Also shift the centers of the points to align with the data
…and fixed the tests that asserted this wrongly.
martin-schlipf and others added 26 commits March 14, 2024 15:08
The axes should be present if that is the case
Do not allow spaces in selection since this is not allowed in other
choices either
…owed.

Also made sure that strange fractional coordinates (e.g. -2.234) are correctly mapped between 0 and 1.

For constant current mode, the smoothed charge density is now also rolled in a way that values on both sides of the unit cell boarders are possible.

Tests were updated, but I still need to double check if the STM pictures are actually correct in some edge cases.
…_STM

# Conflicts:
#	core/poetry.lock
#	poetry.lock
…lowest spot, not surface, which is a bit harder to get right for all cases...
MichaelWolloch and others added 2 commits May 17, 2024 09:39
…rguments

Co-authored-by: Martin Schlipf <martin.schlipf@gmail.com>
Co-authored-by: Martin Schlipf <martin.schlipf@gmail.com>
@martin-schlipf martin-schlipf merged commit 3029c4a into vasp-dev:master May 17, 2024
27 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