pwtools.kpath.SpecialPointsPath

class pwtools.kpath.SpecialPointsPath(ks=None, ks_frac=None, symbols=None)[source]

Bases: object

Sequence of special points. Calculate their path norm and store symbols such as “K” or “$\Gamma$”.

__init__(ks=None, ks_frac=None, symbols=None)[source]
Parameters:
  • ks ((nks,3)) – cartesian k-points

  • ks_frac ((nks,3), optional) – fractional k-points, used only in plot_dis(), not for path norm calculation

  • symbols (sequence of strings (nks,), optional) – special point symbol each point in ks

Methods