Code for the calculation of Hofstadter's Butterfly for 2D COFs based on Pybinding.
Relies on ASE and pybinding. The Tight-Binding parameters are extracted from slater-koster files (can be downloaded here: https://dftb.org/parameters).
Usage is shown in the example jupyter notebook.
Please cite:
D. Bodesheim, R. Biele & G. Cuniberti, Hierarchies of Hofstadter butterflies in 2D covalent organic frameworks. npj 2D Mater. Appl. 7, 16 (2023). https://doi.org/10.1038/s41699-023-00378-0