def METHOD_NAME(Twiddles_vec, Nfft):
  Theta = (2 * np.pi) / Nfft;
  with np.nditer(Twiddles_vec, op_flags=['readwrite']) as it:
    for idx, twi in enumerate(it):
      Phi = Theta * idx;
      twi[...]['re'] = np.cos(Phi)
      twi[...]['im'] = np.sin(Phi)