get_kpoint_spacing

ifermi.kpoints.get_kpoint_spacing(kpoints)[source]

Get the spacing between fractional k-points.

Parameters:

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

Return type:

ndarray

Returns:

A (3, ) float array of the spacing along each reciprocal lattice direction.