MagneticKP: A package for quickly constructing
k⋅p models of magnetic and non-magnetic crystals
MagneticKP is a package that implements an efficient algorithm for constructing $\boldsymbol{k}\cdot \boldsymbol{p}$ effective Hamiltonians of crystals. It applies to both spinless and spinful cases, and to magnetic and nonmagnetic systems. By interfacing with SpaceGroupIrep or MSGCorep, it directly outputs the Hamiltonian around any momentum point to any order in $k$, significantly faster than previous methods.