pythtb.TBModel.clear_onsite#

TBModel.clear_onsite()[source]#

Reset all on-site energies to zero.

Added in version 2.0.0.

Notes

Also clears the internal flags that track which sites were explicitly set.