grogupy._core.make_kset

grogupy._core.make_kset(kset: list | ndarray[Any, dtype[_ScalarType_co]] = array([1, 1, 1])) ndarray[Any, dtype[_ScalarType_co]][source]

Simple k-grid generator to sample the Brillouin zone.

Parameters

kset: Union[list, NDArray]

The number of k points in each direction

Returns

NDArray

An array of k points that uniformly sample the Brillouin zone in the given directions