get_kpoint_mesh_dim¶ ifermi.kpoints.get_kpoint_mesh_dim(kpoints, tol=1e-05)[source]¶ Get the k-point mesh dimensions. 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: tuple[int, int, int] Returns: A (3, ) int array of the k-point mesh dimensions.