pymatgen.analysis.topological.spillage module

Code to calculate spin-orbit spillage. Modified from JARVIS-Tools

class SOCSpillage(wf_noso='', wf_so='')[source]

Bases: object

Spin-orbit spillage criteria to predict whether a material is topologically non-trival. The spillage criteria physically signifies number of band-inverted electrons. A non-zero, high value (generally >0.5) suggests non-trivial behavior

Requires path to WAVECAR files with and without LSORBIT = .TRUE. :param wf_noso: WAVECAR without spin-orbit coupling :param wf_so: WAVECAR with spin-orbit coupling

static isclose(n1, n2, rel_tol=1e-07)[source]

Checking if the numbers are close enoung

static orth(A)[source]

Helper function to create orthonormal basis


Main function to calculate SOC spillage