def get_equivalent_k(k, supercell_size):
    return itertools.product(
        *[
            (np.linspace(0, 1, s, endpoint=False) + ki / s)
            for ki, s in zip(k, supercell_size)
        ]
    )