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

Expedited PROCAR Parsing #34

Open
kavanase opened this issue Sep 24, 2023 · 0 comments
Open

Expedited PROCAR Parsing #34

kavanase opened this issue Sep 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kavanase
Copy link
Member

Currently the loops in PROCAR parsing and spectral_function_from_weight_sets run over all bands/kpoints in the calculation.
In many cases, the bands extend over a very large energy range (e.g. in the Cs$_2$Sn/TiX$_6$ alloys from the docs example, the range is -37 to +8 eV), whereas we usually only want to plot within a much smaller energy range (e.g. -5 to +5 eV).
Given that the PROCARs are parsed each time when doing a projected band structure plot, and this is the most time-consuming part of the projected plotting, it could significantly speed up this step by only parsing bands with energies within the emin - emax range.

I implemented a (conceptually) similar masking approach in PyTASER recently (WMD-group/PyTASER@4b8ac4d) which gave a massive boost in efficiency.
Worth considering!

@kavanase kavanase added the enhancement New feature or request label Sep 24, 2023
@kavanase kavanase changed the title Potential Future Enhancement: Expediting PROCAR Parsing Expedited PROCAR Parsing Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant