pyprocar.core.KPath#
- class pyprocar.core.KPath(knames=None, kticks=None, special_kpoints=None, ngrids=None, has_time_reversal=True)[source]#
Methods
KPath.__init__
([knames, kticks, ...])The Kpath object to handle labels and ticks for band structure
A method to get the transformed kpoints
A method to get the optimized kpoints after a transformation
KPath.write_to_file
([filename, fmt])Write the kpath to a file.
Attributes
An array with the kdistance along the kpath
The number of band segments
The list of tick names
The list of tick positions