Remove unused keyword in get_triplets_at_q