vibeqc.monkhorst_pack

vibeqc.monkhorst_pack(system, mesh, is_shift=None, use_symmetry=False, *, symmetry=None)[source]

Build a legacy BlochKMesh Monkhorst-Pack mesh.

This public compatibility wrapper keeps the historical gamma-centred default of the C++ binding (is_shift=(0, 0, 0)) while accepting the same low-dimensional active-axis shorthand as KPoints: [n] for 1D and [n1, n2] for 2D. Inactive axes are pinned to Γ with mesh size 1 and shift 0.

Use KPoints.monkhorst_pack() for the richer Python API with classical Monkhorst-Pack auto-shifts.