-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update fermi level calculation method (#210)
* add kmesh mode in band.py * add kmesh and run * add example for get_fermi * add abstract_process.py and update get_fermi.ipynb * add abstract_process in band.py * remove kmesh mode in band.py * update example for get_fermi * add get_eigs and get_fermi_level in abstract_process.py * update band.py with get_fermi * remove unnecessary packages * rename abstracprocess as elec_struc_cal.py * add docstring in elec_struc_cal.py * remove usegui and results_path in elec_struc_cal.py * use klist to calculate efermi in band.py * update get_fermi example * add unitest for get_fermi * add nnsk.best.pth * remove test * Refactor Band class to use torch.nn.Module for model parameter in __init__ * Refactor test_get_fermi to use meshgrid instead of kmesh * update cal_fermi_level with smearing and its example, unitest etc. * update test_get_fermi.py * update get_fermi.ipynb * add log info to check kpoints in ref_band and model's predictions --------- Co-authored-by: qqgu <[email protected]>
- Loading branch information
1 parent
42eaf5d
commit 9b7272d
Showing
4 changed files
with
174 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.