The seekpath.get_path function is the primary interface for obtaining k-point paths and standardized crystal structures. It detects the Bravais lattice using spacegroup symmetry and returns the suggested band path based on crystallographic conventions.
Input Structure Format
The structure argument must be a tuple in the following format:
(cell, positions, numbers)
cell: A 3x3 list of floats representing the lattice vectors.positions: A Nx3 list of floats representing atomic coordinates in scaled coordinates (w.r.t. the cell vectors).numbers: A list of length N containing integers that uniquely identify the atoms in the cell.
Function Signature
seekpath.get_path(structure, with_time_reversal, recipe, threshold, symprec, angle_tolerance)
Parameters
structure: The tuple described above.with_time_reversal: Boolean flag indicating if time-reversal symmetry is present.recipe: String specifying the path recipe (currently only 'hpkot' is supported).threshold: Numerical threshold used to identify properties like the order of axes in an orthorhombic cell.symprec: Symmetry precision passed to spglib.angle_tolerance: Angle tolerance passed to spglib.
Output
The function returns a dictionary containing k-vector coefficients, the suggested band path, inversion symmetry information, and the crystallographic/reciprocal primitive lattices.
# Example usage pattern
# structure = (cell, positions, numbers)
path_data = seekpath.get_path(structure, True, 'hpkot', 0.01, 1e-5, 1e-5)