kpoints_to_first_bz

ifermi.kpoints.kpoints_to_first_bz(kpoints, tol=1e-05)[source]

Translate fractional k-points to the first Brillouin zone.

I.e. all k-points will have fractional coordinates:

-0.5 <= fractional coordinates < 0.5

Parameters:
  • kpoints (ndarray) – A (n, 3) float array of the k-points in fractional coordinates.

  • tol (float) – Tolerance for treating two k-points as equivalent.

Return type:

ndarray

Returns:

A (n, 3) float array of the translated k-points.